Re: [PATCH] ASoC: simple-card: Fix crash in asoc_simple_card_unref()

From: Mark Brown
Date: Wed Jan 14 2015 - 12:18:57 EST


On Tue, Jan 13, 2015 at 09:03:37PM +0100, Geert Uytterhoeven wrote:
> If asoc_simple_card_probe() fails, asoc_simple_card_unref() may be
> called before dev_set_drvdata(), causing a NULL pointer dereference in
> asoc_simple_card_unref():

Applied, thanks.

Attachment: signature.asc
Description: Digital signature