]> git.karo-electronics.de Git - linux-beck.git/commit
spi: mediatek: remove needless pair of writel()/readl()
authorleilk.liu@mediatek.com <leilk.liu@mediatek.com>
Fri, 20 Nov 2015 02:21:18 +0000 (10:21 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 21 Nov 2015 13:39:27 +0000 (13:39 +0000)
commit4c3dbd35d4369ddb0f0e26dd329a6aab870703e2
tree7b51c77c741a0104385b3cd7db6b15edc7bfb5f8
parent6e6a9cd461073256977bc8c91aba3c847e80fbd2
spi: mediatek: remove needless pair of writel()/readl()

It's not need to re-read and re-write SPI_CMD_REG, so remove it.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c