From: Kuninori Morimoto Date: Mon, 31 Oct 2011 07:48:00 +0000 (-0700) Subject: usb: gadget: renesas_usbhs: check device0 status when alloc X-Git-Tag: v3.3-rc1~153^2~28^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab14230854aba9d0c99b3cd0e4bb1ef430973d84;p=pandora-kernel.git usb: gadget: renesas_usbhs: check device0 status when alloc device0 was treated without checking in usbhsh_device_alloc(). but "udev->usbv" and "dev_set_drvdata()" will be overwritten if device0 was multi-allocated. This patch fixes this issue. Signed-off-by: Kuninori Morimoto Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed