]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
spi: sh-msiof: Update calculation of frequency dividing
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Fri, 30 Jan 2015 06:11:54 +0000 (15:11 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2015 20:03:39 +0000 (20:03 +0000)
commit65d5665bb260b034122061df789497c2d08da6d2
tree23eafed07abaf658f9e78882c6b5dbc8adb9480b
parentc8935ef0f2a8e8c5c440c62fb194d40c4415f456
spi: sh-msiof: Update calculation of frequency dividing

sh-msiof of frequency dividing does not perform the calculation, driver have
to manage setting value in the table. It is not possible to set frequency
dividing value close to the actual data in this way. This changes from
frequency dividing of table management to setting by calculation.
This driver is able to set a value close to the actual data.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c