]> Pileus Git - ~andy/linux/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)
commit72611db0eef21f4456d79ba302af4b34ea384f30
treeb391e700ca1b409bf3b55384d0d105a931c7c730
parent440114fdb13cbc53ea734bcc05b86bcf5b1e430c
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