diff options
| author | Marek Szyprowski <[email protected]> | 2025-02-20 12:03:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-20 12:29:37 +0000 |
| commit | c783e1258f29c5caac9eea0aea6b172870f1baf8 (patch) | |
| tree | 1ec1806f48aff1ca2859a9f7c08485a60c3b268b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | usb: typec: ucsi: increase timeout for PPM reset operations (diff) | |
| download | kernel-c783e1258f29c5caac9eea0aea6b172870f1baf8.tar.gz kernel-c783e1258f29c5caac9eea0aea6b172870f1baf8.zip | |
usb: gadget: Fix setting self-powered state on suspend
cdev->config might be NULL, so check it before dereferencing.
CC: stable <[email protected]>
Fixes: 40e89ff5750f ("usb: gadget: Set self-powered based on MaxPower and bmAttributes")
Signed-off-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
