All of lore.kernel.org
 help / color / mirror / Atom feed
* Question regarding "Fix backport of WM8994 thermal warning" patch
@ 2011-11-04 12:11 Thomas Abraham
  2011-11-04 15:58 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Abraham @ 2011-11-04 12:11 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel

Hi Mark,

I have a question regarding "Fix backport of WM8994 thermal warning" patch.

I am trying sound on Exynos4 smdk board with the latest 3.1 kernel. In
the function "wm8994_codec_probe", the kernel crashes due to null
pointer when requesting "Thermal Warning" interrupt (line# 3183 of
sound/soc/codecs/wm8994.c file). wm8994->control_data is actually NULL
at this point.

I have not debugged this much but if there is something obvious I am
missing, could you please let me know.

Thanks,
Thomas.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question regarding "Fix backport of WM8994 thermal warning" patch
  2011-11-04 12:11 Question regarding "Fix backport of WM8994 thermal warning" patch Thomas Abraham
@ 2011-11-04 15:58 ` Mark Brown
  2011-11-04 16:03   ` Thomas Abraham
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2011-11-04 15:58 UTC (permalink / raw)
  To: Thomas Abraham; +Cc: alsa-devel

On Fri, Nov 04, 2011 at 08:11:58AM -0400, Thomas Abraham wrote:

> I am trying sound on Exynos4 smdk board with the latest 3.1 kernel. In

Do you mean the latest mainline?  The thermal warning support was only
implemented for v3.1 and the line numbers only match up with mainline.

> the function "wm8994_codec_probe", the kernel crashes due to null
> pointer when requesting "Thermal Warning" interrupt (line# 3183 of
> sound/soc/codecs/wm8994.c file). wm8994->control_data is actually NULL
> at this point.

This is just a straight bug, I'll post a patch.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question regarding "Fix backport of WM8994 thermal warning" patch
  2011-11-04 15:58 ` Mark Brown
@ 2011-11-04 16:03   ` Thomas Abraham
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Abraham @ 2011-11-04 16:03 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel

Hi Mark,

On 4 November 2011 11:58, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
> On Fri, Nov 04, 2011 at 08:11:58AM -0400, Thomas Abraham wrote:
>
>> I am trying sound on Exynos4 smdk board with the latest 3.1 kernel. In
>
> Do you mean the latest mainline?  The thermal warning support was only
> implemented for v3.1 and the line numbers only match up with mainline.

Yes. I was referring to the latest mainline. I incorrectly wrote 3.1 above.

>
>> the function "wm8994_codec_probe", the kernel crashes due to null
>> pointer when requesting "Thermal Warning" interrupt (line# 3183 of
>> sound/soc/codecs/wm8994.c file). wm8994->control_data is actually NULL
>> at this point.
>
> This is just a straight bug, I'll post a patch.
>

Thanks for the patch. I will try again with those patches.

Regards,
Thomas.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-04 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 12:11 Question regarding "Fix backport of WM8994 thermal warning" patch Thomas Abraham
2011-11-04 15:58 ` Mark Brown
2011-11-04 16:03   ` Thomas Abraham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.