]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: hix5hd2: add missed clk_disable_unprepare in remove
authorChuhong Yuan <hslester96@gmail.com>
Mon, 4 Nov 2019 15:00:48 +0000 (23:00 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 22 Mar 2020 16:20:11 +0000 (17:20 +0100)
commit72493448ae1eae9fe392ce0564ca3d73e96f4789
tree6a632f603d85cd349f9f10951faadc3dcce2f137
parentba9c2e0fd2280c388a30da62f9fc4209f087fef0
i2c: hix5hd2: add missed clk_disable_unprepare in remove

The driver forgets to disable and unprepare clk when remove.
Add a call to clk_disable_unprepare to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-hix5hd2.c