aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorXu Yang <[email protected]>2023-03-17 14:15:15 +0800
committerGreg Kroah-Hartman <[email protected]>2023-03-23 18:17:32 +0100
commit3670de80678961eda7fa2220883fc77c16868951 (patch)
tree314d265182b20e44c4748b289aa9a9ccce1ced2c /lib/mpi/mpi-add.c
parentbbefb7ed83e639ba1633e807f56b38a71c51fda3 (diff)
usb: chipdea: core: fix return -EINVAL if request role is the same with current role
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: <[email protected]> Acked-by: Peter Chen <[email protected]> Signed-off-by: Xu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions