Skip to content
Commit 4fdb31d9 authored by Enrico Scholz's avatar Enrico Scholz Committed by Greg Kroah-Hartman
Browse files

USB: pxa27x_udc: avoid compiler warnings and misbehavior on buggy hardware



hardware reports wrong interrupt.  Although such a situation should not
happen, the compiler complains about this access.

This patch adds a sanity check and generates warning to detect such
issues.

Signed-off-by: default avatarEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2f0e40ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment