Re: [PATCHv8 03/13] cec: add new notifier functions

2019-06-25 Thread Hans Verkuil
On 6/25/19 3:48 PM, Dariusz Marcinkiewicz wrote: > Hello. > > Some small comments/questions. > > On Mon, Jun 24, 2019 at 6:03 PM Hans Verkuil wrote: >> > ... >> @@ -22,9 +22,11 @@ struct cec_notifier { >> struct list_head head; >> struct kref kref; >> struct device *hdmi_

Re: [PATCHv8 03/13] cec: add new notifier functions

2019-06-25 Thread Dariusz Marcinkiewicz
Hello. Some small comments/questions. On Mon, Jun 24, 2019 at 6:03 PM Hans Verkuil wrote: > ... > @@ -22,9 +22,11 @@ struct cec_notifier { > struct list_head head; > struct kref kref; > struct device *hdmi_dev; > + struct cec_connector_info conn_info; > cons

[PATCHv8 03/13] cec: add new notifier functions

2019-06-24 Thread Hans Verkuil
In order to support multiple CEC devices for an HDMI connector, and to support cec_connector_info, drivers should use either a cec_notifier_conn_(un)register pair of functions (HDMI drivers) or a cec_notifier_cec_adap_(un)register pair (CEC adapter drivers). This replaces cec_notifier_get_conn/cec