commit | 72f595f3b5cef2c36beb1d07409de58d9e503428 | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Sat Apr 30 19:29:40 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 03 14:32:07 2016 -0700 |
tree | 72b94e41e4804ab53eca570f79f8b560c42654e8 | |
parent | 6fb650d43da3e7054984dc548eaa88765a94d49f [diff] |
usb: renesas_usbhs: fix signed-unsigned return The return type of usbhsp_setup_pipecfg() was u16 but it was returning a negative value (-EINVAL). Lets have an additional argument which will have pipecfg and just return the status (success or error) as the return from the function. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>