[alsa-devel] [PATCH] ASoC: samsung-i2s: Check secondary DAI exists before referencing

Sylwester Nawrocki s.nawrocki at samsung.com
Tue Sep 9 19:08:17 CEST 2014


On 09/09/14 17:51, Charles Keepax wrote:
> In a couple of places the driver is missing a check to ensure there is a
> secondary DAI before it de-references the pointer to it, causing a null
> pointer de-reference. This patch adds a check to avoid this.
> 
> Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Acked-by: Sylwester Nawrocki <s.nawrocki at samsung.com>

Thanks for the patch. We had one of those occurrences fixed internally
but I missed to submit the patch upstream.






More information about the Alsa-devel mailing list