[PATCH] media: hantro: Support H264 profile control

2019-11-21 Thread Hirokazu Honda
The Hantro G1 decoder supports H.264 profiles from Baseline to High, with the exception of the Extended profile. Expose the V4L2_CID_MPEG_VIDEO_H264_PROFILE control, so that the applications can query the driver for the list of supported profiles. Signed-off-by: Hirokazu Honda --- drivers/stagi

Re: [PATCH 0/3] staging: vchiq: Fix vchiq_read return value in case of error

2019-11-21 Thread Nicolas Saenz Julienne
On Thu, 2019-11-21 at 11:42 +0100, Stefan Wahren wrote: [...] > > Help with testing would be appreciated. So far I've basically just > > diffed the output of 'cat /dev/vchiq', run the program above with > > a few different values, and run vchiq_test a few times. > > i consider this as sufficient,

Re: [PATCH v2 0/4] staging: vchiq: Fix vchiq_read return value in case of error

2019-11-21 Thread Nicolas Saenz Julienne
Hi Marcelo, On Wed, 2019-11-20 at 15:20 -0500, Marcelo Diop-Gonzalez wrote: > This is a proposed fix of an issue regarding the handling of positive > return values from copy_to_user() in vchiq_read(). It looks like the > struct dump_context passed to the vchiq_dump() function keeps track > of the

[PATCH v1] fbtft: Fix the initialization from property algorithm

2019-11-21 Thread Andy Shevchenko
When converting to device property API the commit 8b2d3aeeb7ec ("fbtft: Make use of device property API") mistakenly placed the reading of the first value inside the loop, that jumps over value after initialization sequence or sleep commands. Move the above mentioned reading outside of the loop to

[PATCH] staging: fwserial: Fix Kconfig indentation (seven spaces)

2019-11-21 Thread Krzysztof Kozlowski
Adjust indentation from seven spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^ /\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- drivers/staging/fwserial/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletion

Re: [PATCH 0/3] staging: vchiq: Fix vchiq_read return value in case of error

2019-11-21 Thread Stefan Wahren
Hi Marcelo, [add Nicolas and Phil] Am 20.11.19 um 16:36 schrieb Marcelo Diop-Gonzalez: > This is a proposed fix of an issue regarding the handling of positive > return values from copy_to_user() in vchiq_read(). It looks like the > struct dump_context passed to the vchiq_dump() function keeps tra

Re: [PATCH v1 1/5] fbtft: Make sure string is NULL terminated

2019-11-21 Thread Steven Price
On 20/11/2019 09:57, Andy Shevchenko wrote: > New GCC warns about inappropriate use of strncpy(): > > drivers/staging/fbtft/fbtft-core.c: In function ‘fbtft_framebuffer_alloc’: > drivers/staging/fbtft/fbtft-core.c:665:2: warning: ‘strncpy’ specified bound > 16 equals destination size [-Wstringop-