summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2015-05-03 10:30:12 +0000
committerMark Brown <broonie@kernel.org>2015-05-06 19:47:49 +0100
commit96bf40194fdda941ce579be199a9427feee5dffa (patch)
treedb594c20026ab3daa3cd61829f5dd768894d9bb2 /ipc
parentf08654a2b582b4e48e8a4a3d2c5c98832adc4387 (diff)
spi: sirf: request and free cs gpio in setup and cleanup callbacks
move spi controller's gpio request work out from probe() to spi device register stage, so after spi device register spi controller can deactive device's gpio chipselect. old code can't do it because gpio request has not be done until device register is finised in spi_bitbang_start. and add cleanup function to free CS gpio. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions