]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Samsung: return error if drvdata is not set
authorPrathyush K <prathyush.k@samsung.com>
Tue, 2 Apr 2013 11:23:01 +0000 (16:53 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 16:56:43 +0000 (17:56 +0100)
commit43c1f79ef18479154ec61ad8da19728ea8a0a1b9
tree4336d49e88820a8e3f7ff9ac56377936831d9df5
parent6063df806efc7a67ce2311a1e96d03d920fc264c
ASoC: Samsung: return error if drvdata is not set

This patch fixes a possible crash in case drvdata for the secondary
device is not set.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/i2s.c