commit | 7b4a036722cfab2b3922685ad473fac35a55c3fa | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Tue Jun 15 12:34:22 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jun 30 08:16:06 2010 -0700 |
tree | 0f3bb015fce2f925c9fb4107dad82c3f6d0380ce | |
parent | 2bb14cbf04ded4b9e394a6ba9e4f06b82fbac8b2 [diff] |
USB: otg/ulpi: bail out on read errors otg_read may return errnos, so bail out correctly to prevent bogus ID-numbers. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Daniel Mack <daniel@caiaq.de> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>