]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwmon: (lis3) Fix Oops with NULL platform data
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Sep 2010 17:01:11 +0000 (10:01 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:51:05 +0000 (21:51 -0700)
commit085835efc676aa2a52395252b17bb91716a61925
treef861935f0344b89a43483cf3347b74282cfed403
parent105f55f7a395070e6369383ce25721de353a18c3
hwmon: (lis3) Fix Oops with NULL platform data

commit f7c77a3dc4683659b6f0d1b6cbc82b6253d095e0 upstream.

The recent addition of threaded irq handler causes a NULL dereference
when used with hp_accel driver, which has NULL pdata.

Acked-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/lis3lv02d.c