[PATCH 12/17] spi/qspi: convert driver to enable/disable memory mapped.
Mark Brown
broonie at kernel.org
Tue Nov 26 08:11:38 EST 2013
On Tue, Nov 26, 2013 at 01:05:08PM +0530, Sourav Poddar wrote:
> Idea is to enable memory mapped by default at the end of the probe,
> if the control reaches the "transfer" api, then the operation is
> not a memory mapped one. Hence, we switch to Normal mode and at the
> end of the "transfer" function. switch back to memory mapped mode.
This doesn't see safe, what happens if something tries to use the map
while a transfer is in progress?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20131126/6b9436ac/attachment-0001.sig>
More information about the linux-mtd
mailing list