diff options
| author | Nicholas Mc Guire <hofrat@osadl.org> | 2018-08-30 12:16:59 +0200 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-10-02 10:43:12 +0300 |
| commit | 24b804e40f23a199e6d82de5b5571bb642490ca1 (patch) | |
| tree | 1fb4fa43b652de13ed0cdeec853d28b2a5aec3d9 /tools/perf/scripts/python | |
| parent | usb: gadget: fsl_udc_core: check allocation return value and cleanup on failure (diff) | |
| download | linux-24b804e40f23a199e6d82de5b5571bb642490ca1.tar.gz linux-24b804e40f23a199e6d82de5b5571bb642490ca1.zip | |
usb: gadget: fsl_udc_core: fixup struct_udc_setup documentation
The original implementation from commit b504882da539
("USB: add Freescale high-speed USB SOC device controller driver")
returned NULL on failure and an allocated + initialized struct fsl_udc on
success. The current code introduced in commit 4365831dadfe
("USB: fsl_usb2_udc: Get max ep number from DCCPARAMS register") only
provides partial initialization as well as returning 0 on success and -1
on failures. The function documentation is updated accordingly.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: 4365831dadfe ("USB: fsl_usb2_udc: Get max ep number from DCCPARAMS register")
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
