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> |
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| fifo.c | ||
| fifo.h | ||
| Kconfig | ||
| Makefile | ||
| mod_gadget.c | ||
| mod_host.c | ||
| mod.c | ||
| mod.h | ||
| pipe.c | ||
| pipe.h | ||
| rcar2.c | ||
| rcar2.h | ||
| rcar3.c | ||
| rcar3.h | ||