mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-03 00:00:19 +02:00
Some usbserial functions returns -EINVAL if the port doesn't exist or if it's not opened. However, the right error code for such situations is -ENODEV. Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>