]> git.baikalelectronics.ru Git - kernel.git/commit
spi/ath79: add missing HIGH->LOW SCK transition
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Dec 2012 09:42:25 +0000 (10:42 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 5 Feb 2013 12:57:45 +0000 (12:57 +0000)
commit2b5de78c3936b0eba38419c4e229de4dc67b1f7e
treeb391e700ca1b409bf3b55384d0d105a931c7c730
parent326d54f29c55e67cc53fc4f8bdb3bbd79dda1b71
spi/ath79: add missing HIGH->LOW SCK transition

The 'ath79_spi_txrx_mode0' function does not
set the SCK signal to LOW at the end of a word
transfer. This causes communications errors with
certain devices (e.g. the PCF2123 RTC chip).

The patch ensures that the SCK signal will be LOW.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-ath79.c