Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
On Tue, 04 Apr 2017, Russell King - ARM Linux wrote: > On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: > > On Tue, 04 Apr 2017, Hans Verkuil wrote: > > > > > On 04/04/2017 04:43 PM, Lee Jones wrote: > > > > If a user specifies the use of RC as a capability, they should > > > > really

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
On Tue, 04 Apr 2017, Hans Verkuil wrote: > On 04/04/2017 05:36 PM, Russell King - ARM Linux wrote: > > On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: > >> On Tue, 04 Apr 2017, Hans Verkuil wrote: > >> > >>> On 04/04/2017 04:43 PM, Lee Jones wrote: > If a user specifies the use of

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Hans Verkuil
On 04/04/2017 05:36 PM, Russell King - ARM Linux wrote: > On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: >> On Tue, 04 Apr 2017, Hans Verkuil wrote: >> >>> On 04/04/2017 04:43 PM, Lee Jones wrote: If a user specifies the use of RC as a capability, they should really be

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Hans Verkuil
On 04/04/2017 05:19 PM, Lee Jones wrote: > On Tue, 04 Apr 2017, Hans Verkuil wrote: > >> On 04/04/2017 04:43 PM, Lee Jones wrote: >>> If a user specifies the use of RC as a capability, they should >>> really be enabling RC Core code. If they do not we WARN() them >>> of this and disable the

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Russell King - ARM Linux
On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: > On Tue, 04 Apr 2017, Hans Verkuil wrote: > > > On 04/04/2017 04:43 PM, Lee Jones wrote: > > > If a user specifies the use of RC as a capability, they should > > > really be enabling RC Core code. If they do not we WARN() them > > > of

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Lee Jones
On Tue, 04 Apr 2017, Hans Verkuil wrote: > On 04/04/2017 04:43 PM, Lee Jones wrote: > > If a user specifies the use of RC as a capability, they should > > really be enabling RC Core code. If they do not we WARN() them > > of this and disable the capability for them. > > > > Once we know RC Core

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Hans Verkuil
On 04/04/2017 04:43 PM, Lee Jones wrote: > If a user specifies the use of RC as a capability, they should > really be enabling RC Core code. If they do not we WARN() them > of this and disable the capability for them. > > Once we know RC Core code has not been enabled, we can update > the user's

[PATCH] [media] cec: Handle RC capability more elegantly

2017-04-04 Thread Lee Jones
If a user specifies the use of RC as a capability, they should really be enabling RC Core code. If they do not we WARN() them of this and disable the capability for them. Once we know RC Core code has not been enabled, we can update the user's capabilities and use them as a term of reference for