From: Tony Lindgren Date: Sun, 16 Dec 2007 18:17:01 +0000 (-0800) Subject: Fix bug #9581: Dereferencing NULL pointer for omap I2C X-Git-Tag: v2.6.24-omap1~98 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcebb6e7fbeb63d61cce760d8599294f712d2ced;p=pandora-kernel.git Fix bug #9581: Dereferencing NULL pointer for omap I2C 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed