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
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.0 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 373.4 KB
Makefile -rw-r--r-- 57.3 KB
README -rw-r--r-- 17.9 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top