clk: ingenic: Add support for clocks whose gate bit is inverted
authorPaul Cercueil <paul@crapouillou.net>
Sun, 20 May 2018 16:31:12 +0000 (16:31 +0000)
committerStephen Boyd <sboyd@kernel.org>
Sat, 2 Jun 2018 06:21:09 +0000 (23:21 -0700)
commit7ef3844fc5198065dbe8776798206c10859d209e
tree21599bf7a694a874677ca24f174c4b7ca1f758bc
parent60cc43fc888428bb2f18f08997432d426a243338
clk: ingenic: Add support for clocks whose gate bit is inverted

Support the clocks which are gated when their gate bit is cleared
instead of set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ingenic/cgu.c
drivers/clk/ingenic/cgu.h