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)
commita9b977ecd3dbc5d4f0fe0b3d5c66d284859b1f2a
tree4336d49e88820a8e3f7ff9ac56377936831d9df5
parent07961ac7c0ee8b546658717034fe692fd12eefa9
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
This page took 0.026964 seconds and 5 git commands to generate.