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

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 8 14:56:01 CET 2010

On Tue, Dec 07, 2010 at 04:30:38PM +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 at opensource.wolfsonmicro.com>

Applied, thanks.

More information about the Alsa-devel mailing list