]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Use connector kdev as aux device parent
authorLeo Li <sunpeng.li@amd.com>
Tue, 23 Jul 2019 23:28:02 +0000 (19:28 -0400)
committerHarry Wentland <harry.wentland@amd.com>
Thu, 25 Jul 2019 21:51:26 +0000 (17:51 -0400)
commit68e27812f263fd07268d1371ec32bb77a594028e
tree042e07f7ca6d804cae29415baf93c1358512f10f
parentf3d7aec3321490132d4d09e589f8a768ef8bf76d
drm/nouveau: Use connector kdev as aux device parent

Set the connector's kernel device as the parent for the aux kernel
device. This allows udev rules to access connector attributes when
creating symlinks to aux devices.

Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723232808.28128-4-sunpeng.li@amd.com
drivers/gpu/drm/nouveau/nouveau_connector.c