]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: rc: no need for decoder state if decoder not enabled
authorSean Young <sean@mess.org>
Tue, 21 Apr 2020 10:19:27 +0000 (12:19 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 29 Apr 2020 09:59:20 +0000 (11:59 +0200)
commit408d0244421c1e76e9910b10d4f82f086b9751b3
treea9cc43e61315ea0527a9229d2d7423a20170bf30
parentc4ed27cfed45c16c2dd16c9fa3b883e306177e40
media: rc: no need for decoder state if decoder not enabled

One struct ir_raw_event_ctrl is allocated per raw IR device; reduce the
amount allocated if not all decoders are enabled.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/rc-core-priv.h