https://github.com/torvalds/linux
Revision 68d85d0e03eab60c238ebe673c7cea1cf70275d4 authored by Wei Yongjun on 29 October 2016, 16:31:17 UTC, committed by Wolfram Sang on 18 November 2016, 00:48:01 UTC
since clk_prepare_enable() is used to get i2c->clk, we should
use clk_disable_unprepare() to release it for the error path.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 93d710a
History
Tip revision: 68d85d0e03eab60c238ebe673c7cea1cf70275d4 authored by Wei Yongjun on 29 October 2016, 16:31:17 UTC
i2c: digicolor: use clk_disable_unprepare instead of clk_unprepare
Tip revision: 68d85d0
File Mode Size
.gitignore -rw-r--r-- 44 bytes
Kconfig -rw-r--r-- 2.6 KB
Makefile -rw-r--r-- 3.7 KB
system_certificates.S -rw-r--r-- 917 bytes
system_keyring.c -rw-r--r-- 6.8 KB

back to top