]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: adc: rcar-gyroadc: Derive interface clock speed from fck clock
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 20 Apr 2017 15:43:10 +0000 (17:43 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 27 Apr 2017 04:58:03 +0000 (05:58 +0100)
commit1a732f4211145b4f6cc47f14cdd9f51a31d7e147
treee9d9a832e7d0465a41826aabbed815c73744b88b
parent7383d44b84c94aaca4bf695a6bd8a69f2295ef1a
iio: adc: rcar-gyroadc: Derive interface clock speed from fck clock

The "if" interface clock speed is actually derived from the "fck"
block clock, as in the hardware they are the same clock. Drop the
incorrect second "if" clock and get the clock speed from "fck".

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: linux-renesas-soc@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/rcar-gyroadc.c