diff options
author | Boris Brezillon <[email protected]> | 2018-06-01 12:03:25 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-06-18 11:45:57 +0200 |
commit | 9882b5375df532acb2c2399a90d882461112e612 (patch) | |
tree | 53bf5b200f8ebabc0cb749dd52e780f46ccd9b69 /lib/mpi | |
parent | 00a5762b45250ebde8920d3cf68ca3974a0253b2 (diff) |
mtd: m25p80: Use SPI_MEM_OP_NO_DUMMY instead of SPI_MEM_OP_DUMMY(0, x)
SPI_MEM_OP_DUMMY(0, x) means there's 0 dummy bytes to send, which is
similar to SPI_MEM_OP_NO_DUMMY except it's less clear. Use
SPI_MEM_OP_NO_DUMMY instead of SPI_MEM_OP_DUMMY(0, x) in
m25p80_write().
Also stop updating op.dummy.buswidth since this value is only
meaningful if you have dummy bytes.
Reported-by: Cyrille Pitchen <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions