summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorDhruva Gole <[email protected]>2023-03-01 13:13:46 +0530
committerJagan Teki <[email protected]>2023-04-25 22:56:14 +0530
commitdb58dc5438ec674cad438a606edc155d06914adc (patch)
tree3c9f7d050eb6a4974549e426fa74ccba4636e732 /scripts/const_structs.checkpatch
parent963b5da339a2ac8ad1451c9b84e746a2e26fd0d4 (diff)
spi: spi-mem: perform odd len check only while writing data
in spi_mem_dtr_supports_op we have a check for allowing only even number of bytes to be r/w. Odd bytes writing can be a concern while writing data to a flash for example because 8 DTR mode doesn't support it. However, reading ODD Bytes even though may not be physically possible we can still allow for it because it will not have serious implications on any critical registers being overwritten since they are just reads. Cc: Vaishnav Achath <[email protected]> Cc: Pratyush Yadav <[email protected]> Cc: Vignesh Raghavendra <[email protected]> Tested-by: Nikhil M Jain <[email protected]> Signed-off-by: Dhruva Gole <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions