]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
spi: img-spfi: Limit bit clock to 1/4th of input clock
authorAndrew Bresticker <abrestic@chromium.org>
Mon, 6 Apr 2015 21:29:03 +0000 (14:29 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 7 Apr 2015 11:19:10 +0000 (12:19 +0100)
commit8543d0e72d4340001d756bd89bee70ce239e1ea5
treed1541d6533e9ad0dafedc68787d46c38e8681009
parentc517d838eb7d07bbe9507871fab3931deccff539
spi: img-spfi: Limit bit clock to 1/4th of input clock

Although the SPFI BITCLK divider supports a value of up to 255, only
values up to 128 are usable.  This results in a maximum possible bit
clock rate of 1/4th the input clock rate.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-img-spfi.c