From: Sylvain Rochet Date: Thu, 12 Feb 2015 17:54:04 +0000 (+0100) Subject: usb: gadget: atmel_usba_udc: Fixed vbus_prev initial state X-Git-Tag: omap-for-v4.1/fixes-rc1~167^2~55^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=227ab58cff3c26ec279598112887d6bcca677a0c;p=pandora-kernel.git 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 Acked-by: Nicolas Ferre Acked-by: Boris Brezillon Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed