Tony Lindgren 3e39752d53 i2c-omap: Fix NULL pointer dereferencing
This patch fixes bug #9581 reported by Marcio Buss. If kzalloc fails,
omap_i2c_write_reg() tries to reset an unallocated I2C controller.

Cc: Marcio Buss <marciobuss@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-14 21:53:30 +01:00
..
2007-10-29 17:27:50 -04:00
2008-01-11 11:42:07 -08:00
2007-12-31 23:11:11 +00:00
2007-11-05 15:12:31 -08:00
2007-11-29 09:24:53 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2008-01-08 16:16:34 -08:00
2008-01-11 11:47:43 -08:00
2007-11-14 18:45:36 -08:00
2007-12-04 16:48:06 +00:00
2007-10-23 15:49:54 +10:00