Re: [PATCHv8 04/13] cec: expose the new connector info API

2019-06-25 Thread Hans Verkuil
On 6/25/19 3:59 PM, Dariusz Marcinkiewicz wrote: > Hi. > > This looks good except one comment about the ioctl. > > On Mon, Jun 24, 2019 at 6:03 PM Hans Verkuil wrote: >> > ... >> +static long cec_adap_g_connector_info(struct cec_adapter *adap, >> + struct cec_

Re: [PATCHv8 04/13] cec: expose the new connector info API

2019-06-25 Thread Dariusz Marcinkiewicz
Hi. This looks good except one comment about the ioctl. On Mon, Jun 24, 2019 at 6:03 PM Hans Verkuil wrote: > ... > +static long cec_adap_g_connector_info(struct cec_adapter *adap, > + struct cec_log_addrs __user *parg) > +{ > + if (!(adap->capabilities

[PATCHv8 04/13] cec: expose the new connector info API

2019-06-24 Thread Hans Verkuil
From: Dariusz Marcinkiewicz Until now the connector info API was a kernel-internal API only. This moves it to the public API and adds the new ioctl to retrieve this information. Signed-off-by: Dariusz Marcinkiewicz Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-adap.c | 2 ++ drivers/