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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:50 +0000 (11:14 +0100)
commit2795f6a511cd96dd6fec65b4db21fec412fcb711
tree0cd7b7a42f6672daddd25a7cbf2f6bc7dfd63949
parent76fa23bd085d8b4da122d4a7ff1c3d6a00bc6948
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