]> git.baikalelectronics.ru Git - kernel.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)
commit7723bca953d6e56f18cfbf8c8a0955846b8f4455
tree23eafed07abaf658f9e78882c6b5dbc8adb9480b
parent951418bb78b25d104dd38b1f03374275db3ec68b
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