Skip to content
Commit 5b47bcd4 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

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: default avatarAndy Getzendanner <james.getzendanner@students.olin.edu>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 033f44bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment