On Wed, Oct 02, 2019 at 03:09:59PM +0200, Marco Felsch wrote: > Currently the fixup code assumes that only one i2c bus is active. If we > reuse the board code for other boards this isn't always true. Fix that > by using of_find_i2c_adapter_by_node() to address both cases. > > Fixes: b6bebb7aca ("ARM: i.MX: phytec-som-imx6: phycore: Set BUCK mode to SYNC") > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- > Changelog: > > v2: > - Make use of of_find_i2c_adapter_by_node() to get the right adapter. > --- > arch/arm/boards/phytec-som-imx6/board.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox