staging: most: usb: use EINVAL error code
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 5 May 2020 10:00:27 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 May 2020 10:17:59 +0000 (12:17 +0200)
commit441be56f894d5f31e0747c35bbfb4784aa3b958a
treedc632e6e89d716103777647c1fccd6670215ac08
parent3e8621aba71ad7b381699cf5119a779bc61e341d
staging: most: usb: use EINVAL error code

This patch replaces the error code EIO with EINVAL, when there is no IO
happening.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1588672829-28883-3-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/usb/usb.c