summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-designware-core.c
diff options
context:
space:
mode:
authorArvind Yadav2017-05-31 08:57:44 +0200
committerWolfram Sang2017-06-19 16:28:58 +0200
commit56a6cb88657557edd84eabddd9f509d13b5b81c5 (patch)
treeea33863ed58da31f235a9ec3d6bc2575ae3d91f7 /drivers/i2c/busses/i2c-designware-core.c
parenti2c: use proper name for the R-Car SoC (diff)
downloadkernel-qcow2-linux-56a6cb88657557edd84eabddd9f509d13b5b81c5.tar.gz
kernel-qcow2-linux-56a6cb88657557edd84eabddd9f509d13b5b81c5.tar.xz
kernel-qcow2-linux-56a6cb88657557edd84eabddd9f509d13b5b81c5.zip
i2c: at91: Handle return value of clk_prepare_enable
clk_prepare_enable() can fail here and we must check its return value. Also, add a missing clk_disable_unprepare(). Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.c')
0 files changed, 0 insertions, 0 deletions