]> 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)
commit1ffca6b1fa2839c9921f4cae1e6ce20122c87d19
treef7c9c426443dc4afe37e00f4fe3a66750befa049
parentd9272ee395c311e5ec39a4766cb712b6f629cf0b
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