mirror of https://gitee.com/openkylin/linux.git
spi: bcm-qspi: Make BSPI default mode
The spi-nor controller defaults to BSPI mode, hence switch back to its default mode after MSPI operations (write or erase) are completed. Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Reviewed-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com> Link: https://lore.kernel.org/r/1567139325-7912-1-git-send-email-rayagonda.kokatanur@broadcom.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ace55c411b
commit
ca10539843
|
@ -897,6 +897,7 @@ static int bcm_qspi_transfer_one(struct spi_master *master,
|
|||
|
||||
read_from_hw(qspi, slots);
|
||||
}
|
||||
bcm_qspi_enable_bspi(qspi);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue