summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/ccio-dma.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 18:13:20 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-18 23:15:38 +0000
commited442b6798eb39eda3bcea92ef9403280b603818 (patch)
tree4e9d701e751169e5eda8ef7ee985c29b55f16d9e /drivers/parisc/ccio-dma.c
parent65b539bb900f64b9a3f9b761bf0f735dc84e6b70 (diff)
downloadop-kernel-dev-ed442b6798eb39eda3bcea92ef9403280b603818.zip
op-kernel-dev-ed442b6798eb39eda3bcea92ef9403280b603818.tar.gz
MFD: ucb1x00-core: add missing ucb1x00_enable()/ucb1x00_disable()
ucb1x00_enable() and ucb1x00_disable() are used for power saving on the SIB interface, allowing the host supplied clock to be disabled when not required. We require drivers which access the ucb1x00 to ensure that they have enabled the clock prior to accessing the device, and they should disable it once they're done. As we don't expect gpiolib users to be aware of this detail, we must make these calls in the gpiolib interfaces. Add them. Also add them to the resume method, which needs to re-establish the GPIO pin settings. Acked-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/parisc/ccio-dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud