[RTEMS Project] #2483: raspberrypi: i2c driver can block task forever if compiled with #if I2C_IO_MODE == 1

RTEMS trac trac at rtems.org
Wed Dec 2 11:30:42 UTC 2015


#2483: raspberrypi: i2c driver can block task forever if compiled with #if
I2C_IO_MODE == 1
--------------------+-------------------
 Reporter:  soja    |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:
Component:  bsps    |     Version:  4.12
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-------------------

Comment (by soja):

 The added patch should fix the problem.
 It simply writes the task_id of the current thread to the bus structure
 before waiting for the transient event. Then, the ISR should send the
 event to the correct task.

--
Ticket URL: <http://devel.rtems.org/ticket/2483#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list