]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 18 Nov 2013 13:03:08 +0000 (21:03 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 18 Nov 2013 19:26:23 +0000 (20:26 +0100)
commitfcb6aa38ff6cba8301de35bac0d8d1f73d8571db
treeebdf2e781f5daffa767ae92a7848024e84b2f8fd
parent69872cc7a9dbd15a121048ec57e288b731b9a9f7
i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()

Fix to return a negative error code from the bus speed parse
error handling case instead of 0.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm-kona.c