summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2025-02-20 15:03:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-20 15:29:37 +0300
commitc783e1258f29c5caac9eea0aea6b172870f1baf8 (patch)
tree1ec1806f48aff1ca2859a9f7c08485a60c3b268b /scripts/extract-fwblobs
parentbf4f9ae1cb08ccaafbe6874be6c46f59b83ae778 (diff)
downloadlinux-c783e1258f29c5caac9eea0aea6b172870f1baf8.tar.xz
usb: gadget: Fix setting self-powered state on suspend
cdev->config might be NULL, so check it before dereferencing. CC: stable <stable@kernel.org> Fixes: 40e89ff5750f ("usb: gadget: Set self-powered based on MaxPower and bmAttributes") Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20250220120314.3614330-1-m.szyprowski@samsung.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions