mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
usb: chipdea: core: fix return -EINVAL if request role is the same with current role
commit3670de8067upstream. It should not return -EINVAL if the request role is the same with current role, return non-error and without do anything instead. Fixes:a932a8041f("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>
This commit is contained in:
parent
bfcd692c83
commit
4e34981438
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue