Re: v4l2-ctrls: negative integer control values broken

2014-07-25 Thread Hans Verkuil
On 07/25/2014 08:25 PM, Frank Schäfer wrote: > Hans, > > sorry for bothering you with another issue on friday evening. :-/ > But it seems that commit 958c7c7e65 ("[media] v4l2-ctrls: fix corner > case in round-to-range code") introduced a regression for controls which > are using a negative intege

v4l2-ctrls: negative integer control values broken

2014-07-25 Thread Frank Schäfer
Hans, sorry for bothering you with another issue on friday evening. :-/ But it seems that commit 958c7c7e65 ("[media] v4l2-ctrls: fix corner case in round-to-range code") introduced a regression for controls which are using a negative integer value range. All negative values are mapped to the maxi