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

RTEMS trac trac at rtems.org
Sun Dec 13 01:22:17 UTC 2015


#2483: raspberrypi: i2c driver can block task forever if compiled with #if
I2C_IO_MODE == 1
--------------------+----------------------------------------
 Reporter:  soja    |       Owner:  Jan Sommer <soja-lists@…>
     Type:  defect  |      Status:  closed
 Priority:  normal  |   Milestone:
Component:  bsps    |     Version:  4.12
 Severity:  normal  |  Resolution:  fixed
 Keywords:          |
--------------------+----------------------------------------
Changes (by Jan Sommer <soja-lists@…>):

 * owner:   => Jan Sommer <soja-lists@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"687463d7f3b0abb1d98e6e630fb6d47541594bd4/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="687463d7f3b0abb1d98e6e630fb6d47541594bd4"
 Store task_id of the current thread for the ISR before waiting for the
 transient event

 The ISR will send a transient event to the task specified in bus->taskid.
 Make sure that the correct task_id is written to this field before waiting
 for the transient event to arrive.

 Fixes #2483
 }}}

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


More information about the bugs mailing list