]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: spi-mem: s/dummy/data buswidth check in dtr_supports_op()
authorDhruva Gole <d-gole@ti.com>
Wed, 1 Mar 2023 07:43:45 +0000 (13:13 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 25 Apr 2023 17:25:51 +0000 (22:55 +0530)
commit963b5da339a2ac8ad1451c9b84e746a2e26fd0d4
tree96c93e1aa9ef6e01dc6f3bc8cd3acfc6a32561ea
parentb91a0822d752a1d46ea9ad1ad0d28b93b16088f9
spi: spi-mem: s/dummy/data buswidth check in dtr_supports_op()

This should have been op->data.buswidth instead as we check for octal
bus width for the data related ops
Also add explanation for why there is checks for 8D even data bytes

Cc: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Pratyush Yadav <ptyadav@amazon.de>
Tested-by: Nikhil M Jain <n-jain1@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/spi-mem.c