android_kernel_motorola_sm6225/sound/aoa
Takashi Iwai 18c4078489 ALSA: Don't assume i2c device probing always succeeds
The client->driver pointer can be NULL when i2c-device probing fails
in i2c_new_device().  This patch adds the NULL checks for client->driver
and return the error instead of blind assumption of driver availability.

Reported-by: Tim Shepard <shep@alum.mit.edu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-10-01 07:46:33 +02:00
..
codecs ALSA: Don't assume i2c device probing always succeeds 2009-10-01 07:46:33 +02:00
core ALSA: sound/aoa: Add kmalloc NULL tests 2009-07-31 10:14:58 +02:00
fabrics sound: remove driver_data direct access of struct device 2009-05-12 09:20:54 +02:00
soundbus sound: remove driver_data direct access of struct device 2009-05-12 09:20:54 +02:00
aoa-gpio.h ALSA: snd-aoa: handle master-amp if present 2009-01-15 18:28:37 +01:00
aoa.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile [PATCH] aoa: fix when all is built into the kernel 2006-07-10 13:24:19 -07:00