Skip to content
Commit 5f9c20db authored by Ranjani Sridharan's avatar Ranjani Sridharan Committed by Fabio Baltieri
Browse files

drivers/dai/intel/ssp: Skip setting config when playback/capture is active



The reference count, dp->sref, is never incremented for the SSP DAI as
we use the runtime PM API's to probe/remove the DAI during
resume/suspend. Therefore, use the DAI state to check if the DAI is
active in any direction before proceesing to set the config. This fixes
the IO errors seen during simultaenous playback and capture on the same
SSP.

Signed-off-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
parent 0d5555e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment