v4l2provider: Fix device type detection
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 11 Jul 2016 22:30:18 +0000 (18:30 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 11 Jul 2016 23:17:49 +0000 (19:17 -0400)
commitab075b2013b7dbd0b5d2af4d0dd66705c6512130
treebc7bf1b8abc7963f73e4adf023d2df0845c3da19
parentf0678d73b1f379816cf8ea7fb25807ea49768997
v4l2provider: Fix device type detection

The type detection would lead to assertion as it would try
to create a device without having found any type for it. It
also didn't detect MPLANE devices properly.
sys/v4l2/gstv4l2deviceprovider.c