diff options
| author | 2022-06-02 12:09:35 +0300 | |
|---|---|---|
| committer | 2022-06-06 12:31:25 +0100 | |
| commit | bedc357217e6e09623f6209c891fa8d57a737ac1 (patch) | |
| tree | 0b8f03b2dde51082cf5ca13e125cab0f23dc8212 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: SOF: ipc-msg-injector: Propagate write errors correctly (diff) | |
| download | linux-dev-bedc357217e6e09623f6209c891fa8d57a737ac1.tar.xz linux-dev-bedc357217e6e09623f6209c891fa8d57a737ac1.zip | |
ASoC: SOF: ipc-msg-injector: Fix reversed if statement
This if statement is reversed. In fact, the condition can just be
deleted because writing zero bytes is a no-op.
Fixes: 066c67624d8c ("ASoC: SOF: ipc-msg-injector: Add support for IPC4 messages")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/Yph+T3PpGCdPsEDj@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
