diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2017-08-07 17:21:09 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:48:30 +0800 |
commit | 5cfc86a07a661552eef70ec708027c8a39f7e6fa (patch) | |
tree | 67d1bbfd2c5b00593503cfd6ce03695d0c8bda82 /sound/soc/fsl/fsl_asrc.h | |
parent | 77924f38da9d811ca20d393294e9d5be6a0150ed (diff) |
MLK-16154: ASoC: fsl_asrc_m2m: fix crash issue with multi-instance
When open 2 instances of m2m, there is kernel dump. The reason is we
use the dev_set_drvdata to set drvdata for each instance, but each
instance share a same device, the result is drvdata will be changed
by other instances, then cause issue. so the dev_set_drvdata can't be
used, need to combine the pair data with file handler.
Fixes: 58ab1eb5b8c5 ("MLK-13945-3: ASoC: fsl_asrc: support two asrc
devices")
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
0 files changed, 0 insertions, 0 deletions