From: Lars-Peter Clausen Date: Thu, 27 Nov 2014 15:12:18 +0000 (+0100) Subject: spi: cadence: Fix 3-to-8 mux mode X-Git-Tag: omap-for-v3.20/drop-legacy-3517~128^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee0ebe81004bd0bedf7abe8a2f3eb745da0264dc;p=pandora-kernel.git spi: cadence: Fix 3-to-8 mux mode In 3-to-8 mux mode for the CS pins we need to set the PERI_SEL bit in the control register. Currently the driver never sets this bit even when configured for 3-to-8 mux mode. This patch adds code which sets the bit during device initialization when necessary. Signed-off-by: Lars-Peter Clausen Acked-by: Harini Katakam Signed-off-by: Mark Brown --- Reading git-diff-tree failed