Re: [PATCH] ASoC: soc-core: Fix null pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Tue, 2010-12-07 at 16:30 +0000, Dimitris Papastamos wrote:
> In case the codec driver did not provide a read/write function,
> codec->driver->read|write will be NULL.  Ensure that we use the one
> specified in codec->read|write to avoid oopsing when we access
> the debugfs entries.  This is achieved by using snd_soc_read() and
> snd_soc_write().
> Signed-off-by: Dimitris Papastamos <dp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

Alsa-devel mailing list

[ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

Add to Google Powered by Linux