From: Mike Frysinger Date: Fri, 18 Dec 2009 17:43:31 +0000 (+0000) Subject: spi/bfin_spi: reset ctl_reg bits when setup is run again on a device X-Git-Tag: v2.6.37-rc1~187^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b47bcd48b3bd53c86040321de0d348aadebed87;p=pandora-kernel.git spi/bfin_spi: reset ctl_reg bits when setup is run again on a device During runtime, the spi setup function may be called multiple times on the same device in order to reconfigure some settings on the fly. When this happens, we need to reset the ctl_reg bits so that changing the mode works as expected. Reported-by: Andy Getzendanner Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed