]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit541f157525c892db0fdb8ca6d06528dc571452f2
tree0ab3a733d456a83574b7d554b03841606d342e10
parent8e8c59acaa4cbfb2b0c36c0516c7e6ef25bcbe0a
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