From: Erik Slagter Date: Wed, 11 May 2011 10:06:55 +0000 (+0200) Subject: USB: cdc_acm: Fix oops when Droids MuIn LCD is connected X-Git-Tag: v3.0-rc1~337^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd5054c169d29747a44b4e1419ff47f57ae82dbc;p=pandora-kernel.git USB: cdc_acm: Fix oops when Droids MuIn LCD is connected The Droids MuIn LCD operates like a serial remote terminal. Data received are displayed directly on the LCD. This patch fixes the kernel null pointer oops when it is plugged in. Add NO_DATA_INTERFACE quirk to tell the driver that "control" and "data" interfaces are not separated for this device, which prevents dereferencing a null pointer in the device probe code. Signed-off-by: Erik Slagter Signed-off-by: Maxin B. John Tested-by: Erik Slagter Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed