未验证 提交 af7c2d41 编写于 作者: C Claudiu Beznea 提交者: Mark Brown

spi: atmel-quadspi: align condition to parenthesis

Align condition to parenthesis.
Signed-off-by: NClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220609084246.1795419-4-claudiu.beznea@microchip.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 f11ec1cc
...@@ -286,7 +286,7 @@ static bool atmel_qspi_supports_op(struct spi_mem *mem, ...@@ -286,7 +286,7 @@ static bool atmel_qspi_supports_op(struct spi_mem *mem,
/* special case not supported by hardware */ /* special case not supported by hardware */
if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth && if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth &&
op->dummy.nbytes == 0) op->dummy.nbytes == 0)
return false; return false;
return true; return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册