commit | 35bfde36872607b1de87288f9798af79820a910f | [log] [tgz] |
---|---|---|
author | Robert Baldyga <r.baldyga@samsung.com> | Wed Sep 16 12:10:40 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Sun Sep 27 10:54:31 2015 -0500 |
tree | 174ca2395ed0c683e47fe3f89653347733de2efe | |
parent | f871cb9b2e178667a351a6fae9d930826ec10e95 [diff] |
usb: gadget: f_ncm: obtain cdev from function instead of driver_data The 'driver_data' field in ep0 is never set to pointer to cdev, so we have to obtain it from another source as in this context ep->driver_data contains invalid data. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>