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: NWolfram Sang <w.sang@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: NDaniel Mack <daniel@caiaq.de> Cc: stable <stable@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录