[media] lirc_zilog: Always allocate a Rx lirc_buffer object
authorAndy Walls <awalls@md.metrocast.net>
Fri, 28 Jan 2011 01:32:44 +0000 (22:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 22:23:56 +0000 (19:23 -0300)
commitbcbd165509da05a2317ac7dce3c6b952e98a01ef
tree52df6f258b3b5166351b91374f434868e5d03d05
parent8152b760effbff11cb4eef6292ae3b47719ee792
[media] lirc_zilog: Always allocate a Rx lirc_buffer object

Always allocate a lirc_buffer object, instead of just upon setup of
the Rx i2c_client.  If we do not allocate a lirc_buffer object, because
we are not handling the Rx i2c_client, lirc_dev will allocate its own
lirc_buffer anyway and not tell us about its location.

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