On Sat, Mar 03, 2018 at 12:25:54PM +0000, Andre Przywara wrote: > The Allwinner pinctrl device tree binding suggests that a clock named > "apb" would drive the pin controller IP. However (for legacy reasons) we > rely on this clock actually being the first clock defined. > Since named clocks can be in any order, let's explicitly check for a > clock called "apb" if there is more than one clock referenced. > > Kudo to Maxime for suggesting this much more elegant approach. > > Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> Thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
Attachment:
signature.asc
Description: PGP signature