commit | 9962fb0d19958215b5bc6b9279f824b55aabdec2 | [log] [tgz] |
---|---|---|
author | Claudiu Beznea <claudiu.beznea@microchip.com> | Fri Jan 17 13:36:49 2020 +0200 |
committer | Stephen Boyd <sboyd@kernel.org> | Wed Feb 12 15:31:47 2020 -0800 |
tree | 43cc3843227650c77daffd0c4dd417e613b47403 | |
parent | d7a83d67a1694c42cc95fc0755d823f7ca3bfcfb [diff] |
clk: at91: usb: introduce num_parents in driver's structure SAM9X60 USB clock may have up to 3 parents. Save the number of parents in driver's data structure and validate against it when setting parent. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lkml.kernel.org/r/1579261009-4573-5-git-send-email-claudiu.beznea@microchip.com Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>