Re: [PATCH] ASoC: qcom: apq8096: set card as device drvdata

2018-06-06 Thread Srinivas Kandagatla
On 06/06/18 09:55, Rohit kumar wrote: 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 Thanks for the patch, Acked-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c |

[PATCH] ASoC: qcom: apq8096: set card as device drvdata

2018-06-06 Thread Rohit kumar
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 --- sound/soc/qcom/apq8096.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c