]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mxc_nand: add missing clk_disable_unprepare() in mxcnd_remove()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 17 Dec 2013 03:35:35 +0000 (11:35 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:24 +0000 (11:22 -0800)
commit8b298b15b1f6843b046bcd33f3bbe4ce2d454921
treec3c550f9abbe9861d15c16ad0a63af0de2e2dba8
parent007c4ef7c96a96edb1efcaa05c36af720c7ed1ba
mtd: mxc_nand: add missing clk_disable_unprepare() in mxcnd_remove()

clock source is prepared and enabled by clk_prepare_enable() in
mxcnd_probe() function, but no disable/unprepare in mxcnd_remove().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c