]> git.baikalelectronics.ru Git - kernel.git/commit
media: pulse8-cec: persistent_config should be off by default
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 16 Jul 2017 08:15:47 +0000 (05:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 26 Jul 2017 09:46:43 +0000 (05:46 -0400)
commitbc4be35bc8b281b59d329f79ee6357bef123bd21
tree3dcf7d0b0fd048521a0bfbb64e9bde11fe82a617
parentbec2856c2cba7967fd25bad6af2cf15cbf6c8f42
media: pulse8-cec: persistent_config should be off by default

The persistent_config option is used to make the CEC settings persistent by using
the eeprom inside the device to store this information. This was on by default, which
caused confusion since this device now behaves differently from other CEC devices
which all come up unconfigured.

Another reason for doing this now is that I hope a more standard way of selecting
persistent configuration will be created in the future. And for that to work all
CEC drivers should behave the same and come up unconfigured by default.

None of the open source CEC applications are using this CEC framework at the moment
so change this behavior before it is too late.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.10 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/pulse8-cec/pulse8-cec.c