drivers/video/udlfb match class, subclass, and protocol
authorBernie Thompson <bernie@plugable.com>
Sun, 10 Jul 2011 07:30:00 +0000 (00:30 -0700)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jul 2011 07:53:30 +0000 (16:53 +0900)
commitb63d10130e68aa6480cc1b2483d7c5ce57a05481
tree18da62ff1f5a8797b75a91d9f3d74c6ae1ce71c7
parentc84c14224bbca6ec60d5851fcc87be0e34df2f44
drivers/video/udlfb match class, subclass, and protocol

Match udlfb only against vendor-specific class (e.g. only DisplayLink
graphics, not composite standard audio class interfaces). This enables
compatibility with composite graphics+audio devices (e.g. HDMI).

Match udlfb only against compatible subclass 0 and protocol 0 chips.
DisplayLink's USB 3.0 generation chips increment these values
to signal that they have a incompatible protocol, preventing udlfb
from erroneously matching to hardware it does not support.

Tested to confirm proper behavior on both USB 2.0 and USB 3.0
generation devices.

Reported-by: Andrew Kephart <akephart@akephart.org>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/udlfb.c