]> git.baikalelectronics.ru Git - kernel.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)
commit898914a75ed6841ac657f49a364a8fb52fcc3921
treef7c9c426443dc4afe37e00f4fe3a66750befa049
parent5bf5c1cdfa1004fb9e0ce2993573c35445508dee
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