Skip to content
Commit d5ec3349 authored by Franck Bui-Huu's avatar Franck Bui-Huu Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: lh7a40x gadget driver: Fixed a dead lock



There is a dead lock in lh7a40x udc driver. When the driver receive a
SET_FEATURE HALT request, the dev lock is taken by the interrupt
handler lh7a40x_udc_irq then the handler will call lh7a40x_set_halt
function which in its turn will try to acquire the dev lock.

Signed-off-by: default avatarFranck Bui-Huu <franck.bui-huu@innova-card.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 754501b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment