summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/stih418-clks.h
diff options
context:
space:
mode:
authorApurva Nandan <a-nandan@ti.com>2021-07-17 02:25:03 +0300
committerMark Brown <broonie@kernel.org>2021-08-05 22:18:10 +0300
commit0395be967b067d99494113d78470574e86a02ed4 (patch)
tree09a1efe48dddc022497cc63044668ef156ed1511 /include/dt-bindings/clock/stih418-clks.h
parent0d5c3954b35eddff0da0436c31e8d721eceb7dc2 (diff)
downloadlinux-0395be967b067d99494113d78470574e86a02ed4.tar.xz
spi: cadence-quadspi: Fix check condition for DTR ops
buswidth and dtr fields in spi_mem_op are only valid when the corresponding spi_mem_op phase has a non-zero length. For example, SPI NAND core doesn't set buswidth when using SPI_MEM_OP_NO_ADDR phase. Fix the dtr checks in set_protocol() and suppports_mem_op() to ignore empty spi_mem_op phases, as checking for dtr field in empty phase will result in false negatives. Signed-off-by: Apurva Nandan <a-nandan@ti.com> Link: https://lore.kernel.org/r/20210716232504.182-3-a-nandan@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/clock/stih418-clks.h')
0 files changed, 0 insertions, 0 deletions