summaryrefslogtreecommitdiff
path: root/lib/notifier-error-inject.c
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2023-03-17 09:15:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-30 13:51:36 +0300
commit9c79e5594dc57c8ac3e69001bc3d9eabe4b8c930 (patch)
tree4c61e0fc5a04cb7218b527ea62bd36b8dde70e64 /lib/notifier-error-inject.c
parentae90481ebdf45935472ddb2ce2f94bb26ea5dd12 (diff)
downloadlinux-9c79e5594dc57c8ac3e69001bc3d9eabe4b8c930.tar.xz
usb: chipdea: core: fix return -EINVAL if request role is the same with current role
commit 3670de80678961eda7fa2220883fc77c16868951 upstream. It should not return -EINVAL if the request role is the same with current role, return non-error and without do anything instead. Fixes: a932a8041ff9 ("usb: chipidea: core: add sysfs group") cc: <stable@vger.kernel.org> Acked-by: Peter Chen <peter.chen@kernel.org> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Link: https://lore.kernel.org/r/20230317061516.2451728-1-xu.yang_2@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions