]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: xiic: Fix the clocking across bind unbind
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 9 Jan 2020 11:38:00 +0000 (17:08 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Jan 2020 20:13:40 +0000 (21:13 +0100)
commitc9fadcccbdf9994961e35d7f05e4fdff537ca702
tree1d7c7ead24046e813638f07ab35f9e76fdd1db42
parenteb163bb6797c338486147f8f0851da79a98b5ce7
i2c: xiic: Fix the clocking across bind unbind

The recommendation is that the set_active should be done
with pm runtime disabled.
Also fix the remove path for clocking.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c