]> 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)
commita138e16818be4d6298edeabf3d7aa058fb5ce325
tree042e07f7ca6d804cae29415baf93c1358512f10f
parent0bc6ca8d3ab593e32ce59d7a00a0a2c289c92ca0
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