]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: at91_i2c: Change error return -ENODEV to -EINVAL
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 27 Sep 2016 03:00:32 +0000 (11:00 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Fri, 28 Oct 2016 16:37:14 +0000 (18:37 +0200)
commit52f37333bc3277cf182e4afb9d59ef2c6f09816e
treea806e5a6232fbfcc10877772e361cfc2a29b4133
parent2ccc07bbdcd85878aa02cf4afb8aa5ed7ef1b446
i2c: at91_i2c: Change error return -ENODEV to -EINVAL

Change the error return value -ENODEV from to -EINVAL for more
reasonable.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/at91_i2c.c