Kinsey Moore started a new discussion on bsps/arm/stm32f4/spi/spi.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1294#note_152386

 > +    spi_bus_destroy_and_free(&bus->base);
 > +    return -rv;
 > +  }
 > +
 > +  sc = rtems_interrupt_handler_install(
 > +    irq,
 > +    "STM32F4 SPI",
 > +    RTEMS_INTERRUPT_UNIQUE,
 > +    stm32f4_spi_isr,
 > +    bus
 > +  );
 > +  if (sc != RTEMS_SUCCESSFUL) {
 > +    rtems_binary_semaphore_destroy(&bus->sem);
 > +    stm32f4_rcc_set_clock(rcc, false);
 > +    spi_bus_destroy_and_free(&bus->base);
 > +    return EAGAIN;

EAGAIN doesn't seem appropriate for this failure.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1294#note_152386
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to