[alsa-devel] Question regarding "Fix backport of WM8994 thermal warning" patch
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.
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.
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.
participants (2)
-
Mark Brown
-
Thomas Abraham