]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: pnx: fix runtime warnings caused by enabling unprepared clock
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 17 Oct 2015 18:52:27 +0000 (21:52 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Oct 2015 20:26:28 +0000 (22:26 +0200)
commit93c0d8ee3e423983126b856802a0601afd743454
tree335a404245a2b38f5b2ce567a8167cff038fcf00
parent85f780365956e4c04cabd4a83cd69995b1cf99fe
i2c: pnx: fix runtime warnings caused by enabling unprepared clock

The driver can not be used on a platform with common clock framework
until clk_prepare/clk_unprepare calls are added, otherwise clk_enable
calls will fail and a WARN is generated.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pnx.c