Skip to content
Commit a1c178e4 authored by Mario Six's avatar Mario Six Committed by Jagan Teki
Browse files

spi: mpc8xxx: Re-order transfer setup



Minize the time the adapter is disabled (via SPI_MODE_EN
clearing/setting) to just the character length setting, and only set up
the temporary data writing variable right before we need it, so there is
a more clear distinction between setting up the SPI adapter, and setting
up the data to be written.

Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
Acked-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 85fa2655
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment