V4L/DVB: ir-core: fix table resize during keymap init
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 05:06:06 +0000 (02:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:46 +0000 (12:57 -0300)
commit42880cd438d6e74b6005648a7dc06867d4b30b44
tree0ab3a733d456a83574b7d554b03841606d342e10
parentd46844300ccd99444d32e481751b6508c8c7834e
V4L/DVB: ir-core: fix table resize during keymap init

drivers/media/IR/ir-keytable.c would alloc a suitably sized keymap table
only to have it resized as it is populated with the initial keymap.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-keytable.c