summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-02-20 15:43:04 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:13:35 +0100
commit892d362869d4f1b776b4afa196b17eba63be5ea7 (patch)
treec641bb058896cee343317e4bb3d333c3d184995a /Documentation
parent63d0cbb5e219c395511e350be6e6647881458204 (diff)
downloadlinux-stable-892d362869d4f1b776b4afa196b17eba63be5ea7.tar.gz
linux-stable-892d362869d4f1b776b4afa196b17eba63be5ea7.tar.bz2
linux-stable-892d362869d4f1b776b4afa196b17eba63be5ea7.zip
spi: sh-msiof: Use the core cs_gpio field, and make it optional
In current implementation, CS is controlled by GPIO, which is passed through spi->controller_data. However, the MSIOF HW module has a function to output CS by itself, which is already enabled and actual switch will be done by pinmux. Store the GPIO number in the core cs_gpio field, and ignore it if it is an invalid (negative) GPIO number. Loosely based on a patch from Takashi Yoshii <takasi-y@ops.dti.ne.jp>. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 8d19534a8d539bb2e598e56e017a423f205e909e) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions