Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/src/lc823450/lc823450_usbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ int usbdev_msc_epread(void *buf, int len)
CONFIG_USBMSC_EPBULKOUT << USB_DMAC_DMAEP_SHIFT |
USB_DMAC_START,
USB_DMAC1);
nxsem_wait(&dma_wait);
nxsem_wait(&dma_wait);

return 0;
}
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/src/sama5/sam_tsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,6 @@ static int sam_tsd_waitsample(struct sam_tsd_s *priv, struct sam_sample_s *sampl

if (ret < 0)
{
/* If we are awakened by a signal, then we need to return
* the failure now.
*/

ierr("ERROR: nxsem_wait: %d\n", ret);
goto errout;
}
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/stm32/stm32_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1854,15 +1854,15 @@ static void adc_inj_startconv(FAR struct stm32_dev_s *priv, bool enable)
#ifdef HAVE_ADC_CMN_DATA
static int adccmn_lock(FAR struct stm32_dev_s *priv, bool lock)
{
int ret = OK;
int ret;

if (lock)
{
ret = nxsem_wait_uninterruptible(&priv->cmn->lock);
}
else
{
nxsem_post(&priv->cmn->lock);
ret = nxsem_post(&priv->cmn->lock);
}

return ret;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/src/stm32l4/stm32l4_otgfshost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ static int stm32l4_chan_wait(FAR struct stm32l4_usbhost_s *priv,
FAR struct stm32l4_chan_s *chan)
{
irqstate_t flags;
int ret;

/* Disable interrupts so that the following operations will be atomic. On
* the OTG FS global interrupt needs to be disabled. However, here we disable
Expand Down
4 changes: 0 additions & 4 deletions drivers/input/ads7843e.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,6 @@ static int ads7843e_waitsample(FAR struct ads7843e_dev_s *priv,

if (ret < 0)
{
/* If we are awakened by a signal, then we need to return
* the failure now.
*/

ierr("ERROR: nxsem_wait: %d\n", ret);
goto errout;
}
Expand Down
4 changes: 0 additions & 4 deletions drivers/usbhost/usbhost_hidmouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,10 +1354,6 @@ static int usbhost_waitsample(FAR struct usbhost_state_s *priv,

if (ret < 0)
{
/* If we are awakened by a signal, then we need to return
* the failure now.
*/

ierr("ERROR: nxsem_wait: %d\n", ret);
goto errout;
}
Expand Down