Skip to content

Commit db1a718

Browse files
lyakhcarlescufi
authored andcommitted
drivers: dma: intel-adsp-hda: add a missing "break"
A "switch" statement in intel_adsp_hda_dma_status() seems to be missing a "break". The second "break" is unneeded but seems to be a part of the coding style. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent 49580bd commit db1a718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/dma/dma_intel_adsp_hda.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,15 @@ int intel_adsp_hda_dma_status(const struct device *dev, uint32_t channel,
212212
intel_adsp_hda_underrun_clear(cfg->base, cfg->regblock_size, channel);
213213
return -EPIPE;
214214
}
215+
break;
215216
case PERIPHERAL_TO_MEMORY:
216217
xrun_det = intel_adsp_hda_is_buffer_overrun(cfg->base, cfg->regblock_size,
217218
channel);
218219
if (xrun_det) {
219220
intel_adsp_hda_overrun_clear(cfg->base, cfg->regblock_size, channel);
220221
return -EPIPE;
221222
}
223+
break;
222224
default:
223225
break;
224226
}

0 commit comments

Comments
 (0)