diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-31 00:48:00 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 11:45:07 +0200 |
commit | ab14230854aba9d0c99b3cd0e4bb1ef430973d84 (patch) | |
tree | f4c598256c6b61404883bfeda2aa5c66ff76866b /fs | |
parent | c5b963f809f378d4fedd6f2f09b36f50c5a37bd5 (diff) | |
download | blackbird-obmc-linux-ab14230854aba9d0c99b3cd0e4bb1ef430973d84.tar.gz blackbird-obmc-linux-ab14230854aba9d0c99b3cd0e4bb1ef430973d84.zip |
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 <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions