Summary:
On some ARM platforms we were failing to find the drm device card.
This was due to those ARM platforms using SUBSYSTEM="platform" as a
udev attribute instead of "pci". This fixes that issue so that those
devices are found again.
Thanks to shiin for the report :)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
goto cont;
devparent = eeze_udev_syspath_get_parent_filtered(device, "pci", NULL);
+ if (!devparent)
+ {
+ devparent =
+ eeze_udev_syspath_get_parent_filtered(device, "platform", NULL);
+ }
+
if (devparent)
{
const char *id;