]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: bcm-qspi: Fix bcm_qspi_bspi_read() performance
authorKamal Dasu <kdasu.kdev@gmail.com>
Wed, 8 Feb 2017 20:15:04 +0000 (15:15 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 14 Feb 2017 17:59:36 +0000 (17:59 +0000)
commit345309fa7c0c9206a5344d379b174499952d79d9
treef7c9c426443dc4afe37e00f4fe3a66750befa049
parent81ab52fd94f32aaa8a9c27b41934e4ae932ca106
spi: bcm-qspi: Fix bcm_qspi_bspi_read() performance

Let bcm_qspi_bspi_flash_read() return all the requested bytes by breaking
up the reads for BSPI block into optimal chunks size that a BSPI block can
handle.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm-qspi.c