From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [PATCH] ASoC: soc-core: Fix null pointer dereference
Date: Tue, 7 Dec 2010 16:22:45 +0000 [thread overview]
Message-ID: <20101207162244.GG9689@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <1291738866-24470-1-git-send-email-dp@opensource.wolfsonmicro.com>
On Tue, Dec 07, 2010 at 04:21:06PM +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.
>
> Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
These should instead be converted to use snd_soc_read() and
snd_soc_write() so we're doing all the indirection in one place.
next prev parent reply other threads:[~2010-12-07 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 16:21 [PATCH] ASoC: soc-core: Fix null pointer dereference Dimitris Papastamos
2010-12-07 16:22 ` Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-07 16:30 Dimitris Papastamos
2010-12-08 12:04 ` Liam Girdwood
2010-12-08 13:56 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101207162244.GG9689@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=dp@opensource.wolfsonmicro.com \
--cc=lrg@slimlogic.co.uk \
--cc=patches@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox