[-next] i2c: digicolor: use clk_disable_unprepare instead of clk_unprepare

Wolfram Sang wsa-dev at sang-engineering.com
Thu Nov 17 16:48:47 PST 2016


On Sat, Oct 29, 2016 at 04:31:17PM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1 at huawei.com>
> 
> 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 at huawei.com>
> Acked-by: Baruch Siach <baruch at tkos.co.il>

Applied to for-current, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161118/4c311fbd/attachment.sig>


More information about the linux-arm-kernel mailing list