commit | b14296af38c45512d0104c939bc718c24e0e1a59 | [log] [tgz] |
---|---|---|
author | Tom Burdick <thomas.burdick@intel.com> | Wed Jan 04 12:06:58 2023 -0600 |
committer | Lauren Murphy <lauren.murphy@intel.com> | Mon Jan 23 11:51:21 2023 -0800 |
tree | c4c6553cb2ec1339a99d22fa5af936b061127068 | |
parent | b1e1b5e7b4a5c9c3e1cb379cbad0f24d5ea7fbd6 [diff] |
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: Tom Burdick <thomas.burdick@intel.com>