]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerMike Turquette <mturquette@linaro.org>
Fri, 23 May 2014 02:03:03 +0000 (19:03 -0700)
commitbb178da701382a230e26d90cf94e8a24b280e0d9
treecbfb1fd1e52b6dcb29f545b6198797bcb21c20ef
parent7f05e28f9dd3eb7a3f27c6f50b715995dc7a88c5
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>
drivers/clk/shmobile/clk-mstp.c