xf86drm: continue with next device if drmProcessUsbDevice fails
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 20 Jul 2017 11:25:27 +0000 (12:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 20 Jul 2017 11:25:27 +0000 (12:25 +0100)
commit3876bc246a07070a6043159cd7623d4def9bbd4c
tree6eee3879e5ebdefe147901f100f9d53a6f716c37
parent5226b52773e0a9972cd1e0dade55cb9ae869941c
xf86drm: continue with next device if drmProcessUsbDevice fails

Analogous to previous commit (and the rest of the codebase), simply
discard the device if we cannot parse it.

Fixes: f8484ccbd12 ("xf86drm: Add USB support")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
xf86drm.c