summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorGONG Ruiqi <gongruiqi1@huawei.com>2025-01-07 04:57:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-07 13:43:08 +0300
commitb0e525d7a22ea350e75e2aec22e47fcfafa4cacd (patch)
treeb0e23e41ce922c6bb44d5685b96f45d5bf4cef26 /scripts/extract-fwblobs
parentcdef30e0774802df2f87024d68a9d86c3b99ca2a (diff)
downloadlinux-b0e525d7a22ea350e75e2aec22e47fcfafa4cacd.tar.xz
usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control()
The error handling for the case `con_index == 0` should involve dropping the pm usage counter, as ucsi_ccg_sync_control() gets it at the beginning. Fix it. Cc: stable <stable@kernel.org> Fixes: e56aac6e5a25 ("usb: typec: fix potential array underflow in ucsi_ccg_sync_control()") Signed-off-by: GONG Ruiqi <gongruiqi1@huawei.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20250107015750.2778646-1-gongruiqi1@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions