]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Bugfix in i2c_get_chip_by_phandle()
authorPhilip Oberfichtner <pro@denx.de>
Fri, 24 Nov 2023 14:04:01 +0000 (15:04 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 27 Nov 2023 23:54:56 +0000 (18:54 -0500)
commitacae7eb5fe063dcfe2dbdb1e1804cf3e12cc2f3f
treeb06556fc9cbecde16495ad7047ed00f3b47ca8ab
parent1fcf078f540cf1e3ce4803cdbe8ac7fdd1e2f4cc
i2c: Bugfix in i2c_get_chip_by_phandle()

The "i2cbcdev" sneaked in when implementing this function for the
bootcounter use case. Obviously the intention was to use prop_name
instead.

Fixes: b483552773 (i2c: Implement i2c_get_chip_by_phandle())
Signed-off-by: Philip Oberfichtner <pro@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass.c