| 203a1aeb | 11-Jan-2017 |
Laurent Pinchart <[email protected]> |
sh: Don't set sh-sci pdata scscr TIE and RIE bits
The scscr platform data field is used by the driver in three locations. One of them masks out all bits except SCSCR_REIE. The two other are the set_
sh: Don't set sh-sci pdata scscr TIE and RIE bits
The scscr platform data field is used by the driver in three locations. One of them masks out all bits except SCSCR_REIE. The two other are the set_termios handler and the console write handler.
The set_termios handler calls sci_start_rx() to enable the receiver, which sets the RIE bit unconditionally. It then calls sci_port_disable() that effectively disables both the transmitter and the receiver. The TIE bit will thus get set later when the serial cores reenables the serial port.
The console write handler runs with interrupts disabled, and saves and restores the SCSCR register value. The RIE and TIE bits are thus not needed there.
The bits are thus not necessary in platform data, remove them.
Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| a3475f00 | 16-Feb-2013 |
Laurent Pinchart <[email protected]> |
sh: sh7269: Add pin control resources
Add memory resources for the pin control platform device to let the sh-pfc driver ioremap() registers properly instead of evily casting register physical addres
sh: sh7269: Add pin control resources
Add memory resources for the pin control platform device to let the sh-pfc driver ioremap() registers properly instead of evily casting register physical addresses to virtual addresses.
The memory resource address range has been extracted from the config and data registes lists in the sh-pfc driver.
Signed-off-by: Laurent Pinchart <[email protected]>
show more ...
|
| b9bcda43 | 16-Feb-2013 |
Laurent Pinchart <[email protected]> |
sh: sh7264: Add pin control resources
Add memory resources for the pin control platform device to let the sh-pfc driver ioremap() registers properly instead of evily casting register physical addres
sh: sh7264: Add pin control resources
Add memory resources for the pin control platform device to let the sh-pfc driver ioremap() registers properly instead of evily casting register physical addresses to virtual addresses.
The memory resource address range has been extracted from the config and data registes lists in the sh-pfc driver.
Signed-off-by: Laurent Pinchart <[email protected]>
show more ...
|