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)
commit5dd32eae604ee503e5a84a4f18d1381e4cc356cb
tree335a404245a2b38f5b2ce567a8167cff038fcf00
parent0729a04977d497cf66234fd7f900ddcec3ef1c52
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