]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00179497-1 ECSPI: disable ecspi clock after probe and spi transfer
authorRobin Gong <B38343@freescale.com>
Thu, 12 Apr 2012 06:40:42 +0000 (14:40 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:25 +0000 (08:34 +0200)
commit5d5feb13c0973fbfb6fcc7c161dbfef60506fa8b
treed3f83ea38ca092a2680fc2f21fc1703e0320b7ed
parent2d73d9f68690dc02408e7ad3c60ef0e20c1e1e6c
ENGR00179497-1 ECSPI: disable ecspi clock after probe and spi transfer

before, it enable spi clock after probe, never been disable unless driver
removed. To reduce power, disable clock after probe, and enable it before
every spi transfer and disable it after spi transfer
Signed-off-by: Robin Gong <B38343@freescale.com>
drivers/spi/spi_imx.c