commit | cb96632c185f13f746d009ec1125539e0b5cd899 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Thu Apr 21 14:10:08 2011 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 29 17:24:32 2011 -0700 |
tree | bd11cf833c31ae203389e89818f35b91d37558bf | |
parent | 409ba9e7c023bdbfd2ecab960532523124de5c81 [diff] |
usb: renesas_usbhs: modify spinlock method Current renesas_usbhs driver was using spin_trylock to avoid dead lock / nest lock. But acording to CONFIG_DEBUG_SPINLOCK, it is BUG under UP environment. This patch add usbhsg_trylock to avoid this issue. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>