diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-02 12:26:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-02 12:26:15 -0600 |
commit | 6278ac1c4a69d20aae11071c3522a681297af107 (patch) | |
tree | 684a12e9145373ee36066bb1e8d28646b2c5bf0e /nuttx/drivers/usbdev | |
parent | 03a3769c31fc38a1924f09ff73e2ac0184394edd (diff) | |
download | px4-nuttx-6278ac1c4a69d20aae11071c3522a681297af107.tar.gz px4-nuttx-6278ac1c4a69d20aae11071c3522a681297af107.tar.bz2 px4-nuttx-6278ac1c4a69d20aae11071c3522a681297af107.zip |
SAMA5 UDPHS: Some very early debug corrections. Not yet working.
Diffstat (limited to 'nuttx/drivers/usbdev')
-rw-r--r-- | nuttx/drivers/usbdev/cdcacm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/drivers/usbdev/cdcacm.c b/nuttx/drivers/usbdev/cdcacm.c index dcd5b9aa1..81319e30c 100644 --- a/nuttx/drivers/usbdev/cdcacm.c +++ b/nuttx/drivers/usbdev/cdcacm.c @@ -535,6 +535,7 @@ static struct usbdev_req_s *cdcacm_allocreq(FAR struct usbdev_ep_s *ep, req = NULL; } } + return req; } @@ -978,6 +979,7 @@ static int cdcacm_bind(FAR struct usbdevclass_driver_s *driver, ret = -ENODEV; goto errout; } + priv->epintin->priv = priv; /* Pre-allocate the IN bulk endpoint */ @@ -989,6 +991,7 @@ static int cdcacm_bind(FAR struct usbdevclass_driver_s *driver, ret = -ENODEV; goto errout; } + priv->epbulkin->priv = priv; /* Pre-allocate the OUT bulk endpoint */ @@ -1000,6 +1003,7 @@ static int cdcacm_bind(FAR struct usbdevclass_driver_s *driver, ret = -ENODEV; goto errout; } + priv->epbulkout->priv = priv; /* Pre-allocate read requests */ |