commit | 227ab58cff3c26ec279598112887d6bcca677a0c | [log] [tgz] |
---|---|---|
author | Sylvain Rochet <sylvain.rochet@finsecur.com> | Thu Feb 12 18:54:04 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Wed Mar 11 10:19:36 2015 -0500 |
tree | 8ddde141147f6511c03af3da8d90f2ba550d32ca | |
parent | 656e7c36bd70e115266cf280e0ff049506ceb16c [diff] |
usb: gadget: atmel_usba_udc: Fixed vbus_prev initial state If vbus gpio is high at init, we should set vbus_prev to true accordingly to the current vbus state. Without that, we skip the first vbus interrupt because the saved vbus state is not consistent. Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Felipe Balbi <balbi@ti.com>