OSDN Git Service

usb: gadget: bdc: fix a driver crash on disconnect
authorAl Cooper <alcooperx@gmail.com>
Fri, 24 Jul 2015 20:09:36 +0000 (16:09 -0400)
committerFelipe Balbi <balbi@ti.com>
Mon, 27 Jul 2015 15:15:06 +0000 (10:15 -0500)
commit02c3b4c75994888e58a6e6e8176640cde9822597
tree1c1d20dbe23a48c896c70f9d6745eb22664df276
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f
usb: gadget: bdc: fix a driver crash on disconnect

ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer
incorrectly by reading the wrong register for the upper 32 bits.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/bdc/bdc_ep.c