summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd8131_edac.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-27 10:42:28 +0100
committerGrant Likely <grant.likely@secretlab.ca>2013-02-05 12:59:47 +0000
commitc4a31f43005512b366e8bfc346e7f14c1a7a1ba7 (patch)
treeb1f49e52ffc5abc0563480bd8ac36cae142ef5d4 /drivers/edac/amd8131_edac.h
parent95d79419feffb326a3d5cb50e2248129dec06bb0 (diff)
downloadtalos-op-linux-c4a31f43005512b366e8bfc346e7f14c1a7a1ba7.tar.gz
talos-op-linux-c4a31f43005512b366e8bfc346e7f14c1a7a1ba7.zip
spi/ath79: avoid multiple initialization of the SPI controller
Currently we are initializing the SPI controller in the chip select line function, and that function is called once for each SPI device on the bus. If a board has multiple SPI devices, the controller will be initialized multiple times. Introduce ath79_spi_{en,dis}able helper functions, and call those from probe/response in order to avoid the mutliple initialization of the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/edac/amd8131_edac.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud