commit | 4fdb31d9665a9106190d9f8888cf06252c20f3ce | [log] [tgz] |
---|---|---|
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | Sun Oct 11 11:52:48 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Mar 02 14:53:06 2010 -0800 |
tree | d63ac40caa8a1b16b25f0827c5b1c8fc0573d1f7 | |
parent | 2f0e40aba1cafe3a834bfcbac8f1e704d496dab9 [diff] |
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: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>