[media] lirc: fix null dereference for tx-only devices
authorSean Young <sean@mess.org>
Fri, 20 Jan 2017 12:10:11 +0000 (10:10 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:32:27 +0000 (07:32 -0200)
commit7cebf2ee8b7e39c06c93b593b0848a7baf9e73a8
treee19d4f2950663d328c8a9364dc67980245f685be
parentf348b4d323a67a5639ccbd3de5add5383573e4a5
[media] lirc: fix null dereference for tx-only devices

tx-only RC devices do not have a receive buffer.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c