clk: shmobile: mstp: Fix the is_enabled() operation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 22 May 2014 18:02:14 +0000 (20:02 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:23:25 +0000 (09:23 +0900)
commit9256006feb727b71772de4e577e5fdf8fe852afa
treef01460fa4c7215cace7d25a2facb52115f4ca903
parent0af8778312b32b8334a2dd4bd18009dcbaf4bf8f
clk: shmobile: mstp: Fix the is_enabled() operation

The MSTP[SC]R registers have clock stop bits, not clock enable bits. The
bit value should thus be inverted in the is_enabled() operation.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
(cherry picked from commit bb178da701382a230e26d90cf94e8a24b280e0d9)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clk/shmobile/clk-mstp.c