USB: r8a66597-hcd: fix NULL access
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Wed, 30 May 2007 11:42:41 +0000 (20:42 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:45 +0000 (16:29 -0700)
commitf6ace2c99afefb7969ccccba2fb413ad29ab2e2e
treee8c2a22f2f2c6f2d8aec6ae6b06e623c4b686ec9
parent5d3043586db428b5b4b3df89fa0c2db9731e934c
USB: r8a66597-hcd: fix NULL access

This patch fixes the problem that accesses NULL pointer
when disconnected a cable while play music with usb-speaker.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c