linux/sound/aoa/codecs
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
..
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00
onyx.c ALSA: AOA: Convert onyx and tas codecs to new-style i2c drivers 2009-04-21 07:31:48 +02:00
onyx.h ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00
tas-basstreble.h ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00
tas-gain-table.h ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00
tas.c ALSA: Don't assume i2c device probing always succeeds 2009-10-01 07:46:33 +02:00
tas.h ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00
toonie.c ALSA: aoa: clean up file names 2008-10-23 18:43:42 +02:00