[media] pulse8-cec: store logical address mask
authorJohan Fjeldtvedt <jaffe1@gmail.com>
Wed, 7 Sep 2016 11:01:11 +0000 (08:01 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 16:00:14 +0000 (13:00 -0300)
commit58584b28a8e57f1262d3c90e8f454f3793f6e8e9
treef2b4e8ad60c7d0bd7f2b76cc7c161b15ef607f55
parent09d6e35fdf10f94465620a195da8eaf0b81966bd
[media] pulse8-cec: store logical address mask

In addition to setting the ACK mask, also set the logical address mask
setting in the dongle. This (and not the ACK mask) is persisted for
use in autonomous mode.

The logical address mask to use is deduced from the primary device type
in adap->log_addrs.

Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/pulse8-cec/pulse8-cec.c