Hello Simon,

Am 09.11.20 um 15:12 schrieb Simon Glass:
> At present if CONFIG_RESET is not enabled, this code shows a warning:
> 
>   designware_i2c_ofdata_to_platdata() i2c_designware_pci i2c2@16,0:
>       Can't get reset: -524
> 
> Avoid this by checking if reset is supported, first.
> 
> Fixes: 622597dee4f ("i2c: designware: add reset ctrl to driver")
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
> 
>  drivers/i2c/designware_i2c.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Applied to u-boot-i2c.git

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de

Reply via email to