Skip to content
Commit b14296af authored by Tom Burdick's avatar Tom Burdick Committed by Lauren Murphy
Browse files

dma: HDA ignore repeated start/stop requests



The DMA API contract specifies that start/stop may be called multiple
times. Prior to adding power management this was perfectly fine as it was.
In adding power management, there are additional side effects that can
cause issues. Instead check the state of the channel prior to start/stop
and do nothing if already in the desired state.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent b1e1b5e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment