i2c: sh_mobile: bail out on errors when initializing
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 2 May 2014 19:15:14 +0000 (21:15 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 May 2014 08:09:24 +0000 (10:09 +0200)
commit6ed7053c2255c34886297b995c6a18607b36d668
treef60dd88b7667bdbb250937f190d25582c67148b4
parented4121e129ae46615ab570318b5b8f31494ced98
i2c: sh_mobile: bail out on errors when initializing

sh_mobile_i2c_init() could detect wrong settings, but didn't bail out,
so it would continue unconfigured. Fix this.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c