summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-02-25 11:21:11 +0100
committerMark Brown <broonie@linaro.org>2014-02-27 11:44:03 +0100
commitc833ff7304511805ce5a3378d1637e39e00e00ea (patch)
tree48ac9aea926637f1e01f1c4191ce3c3d24d64aec /drivers/virt
parentspi: sh-msiof: Add support for R-Car H2 and M2 (diff)
downloadlinux-c833ff7304511805ce5a3378d1637e39e00e00ea.tar.xz
linux-c833ff7304511805ce5a3378d1637e39e00e00ea.zip
spi: sh-msiof: Move clock management to (un)prepare_message()
Move clock management and pin configuration from the bitbang chipselect() method to the SPI core prepare_message() and unprepare_message() methods. As spi_master.{,un}prepare_message() is guaranteed to be called in matching pairs, the clock management synchronization is no longer needed. As sh_msiof_spi_set_pin_regs() is no longer called at spi_master.setup() time (through spi_bitbang_setup() and the spi_bitbang.chipselect() callback), we now have to take care of that ourselves. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions