spi/bfin_spi: reset ctl_reg bits when setup is run again on a device
authorMike Frysinger <vapier@gentoo.org>
Fri, 18 Dec 2009 17:43:31 +0000 (17:43 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:39 +0000 (02:49 -0400)
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 <james.getzendanner@students.olin.edu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

No differences found