net/irda/sh_irda: return to RX mode when TX error
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 13 Jan 2011 21:47:42 +0000 (21:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jan 2011 00:13:51 +0000 (16:13 -0800)
commit5ae2f66fe4626340d4fd9d26b522ce377c780a56
treef5e9967692bbec0c088760814973e59fe5b8264d
parent6ee400aafb60289b78fcde5ebccd8c4973fc53f4
net/irda/sh_irda: return to RX mode when TX error

sh_irda can not use RX/TX in same time,
but this driver didn't return to RX mode when TX error occurred.
This patch care xmit error case to solve this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_irda.c