commit | d5c4e972d512ae0b59108ca92b9b35bc5cf5c14e | [log] [tgz] |
---|---|---|
author | Rohit Kumar <rohitkr@codeaurora.org> | Wed Jun 06 14:25:24 2018 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Jun 18 12:54:38 2018 +0100 |
tree | 1c4d9823de8e55fa16f8b63310930f2d040c6f81 | |
parent | a0d847c380ba47886fcca4168698eef51c69f109 [diff] |
ASoC: qcom: apq8096: set card as device drvdata snd_soc_card is retrieved as device drvdata during unbind(). Set it as drvdata during bind() to avoid memory corruption during unbind(). Signed-off-by: Rohit kumar <rohitkr@codeaurora.org> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>