]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] lirc_zilog: Restore checks for existence of the IR_tx object
authorAndy Walls <awalls@md.metrocast.net>
Thu, 27 Jan 2011 00:06:43 +0000 (21:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 22:23:49 +0000 (19:23 -0300)
commit12d896e1c17978599a98510fdfaff27a4e82c0bf
treef66be96087a4cf1629737aca80567570ddefaa80
parentb443ac5a2836532af2315a4acb95c7a2cf721cbd
[media] lirc_zilog: Restore checks for existence of the IR_tx object

This reverts commit 8090232a237ab62e22307fc060097da1a283dd66 and
adds an additional check for ir->tx == NULL.

The user may need us to handle an RX only unit.  Apparently
there are TV capture units in existence with Rx only wiring
and/or RX only firmware for the on-board Zilog Z8 IR unit.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_zilog.c