Re: Re: [PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread dinghao . liu
Hi, Dan, I agree the best solution is to fix __pm_runtime_resume(). But there are also many cases that assume pm_runtime_get_sync() will change PM usage counter on error. According to my static analysis results, the number of these "right" cases are larger. Adjusting __pm_runtime_resume()

MY DONATION FOR THE LESS PRIVILEGED IN THIS TIME OF PANDEMIC

2020-05-20 Thread Mrs. CHRISTY MCCOOL
I write to ask for your consent to carry out humanitarian projects and help the less privileged in this time of pandemic all over the world, I suffer from advanced cancer that prevents me from realizing my dreams. The doctor informed me that my days are numbered due to my degrading health.

Re: [PATCH AUTOSEL 5.6 16/62] most: core: use function subsys_initcall()

2020-05-20 Thread Sasha Levin
On Fri, May 15, 2020 at 08:59:14AM +0200, Greg Kroah-Hartman wrote: On Thu, May 14, 2020 at 02:51:01PM -0400, Sasha Levin wrote: From: Christian Gromm [ Upstream commit 5e56bc06e18dfc8a66180fa369384b36e2ab621a ] This patch replaces function module_init() with subsys_initcall(). It is needed

Re: [PATCH] media: cedrus: Add support for VP8 decoding

2020-05-20 Thread Jernej Škrabec
Dne sreda, 20. maj 2020 ob 23:43:40 CEST je Nicolas Dufresne napisal(a): > Le mercredi 20 mai 2020 à 23:01 +0200, Jernej Skrabec a écrit : > > VP8 in Cedrus shares same engine as H264. > > > > Note that it seems necessary to call bitstream parsing functions, > > to parse frame header, otherwise

Re: [PATCH] media: cedrus: Add support for VP8 decoding

2020-05-20 Thread Nicolas Dufresne
Le mercredi 20 mai 2020 à 23:01 +0200, Jernej Skrabec a écrit : > VP8 in Cedrus shares same engine as H264. > > Note that it seems necessary to call bitstream parsing functions, > to parse frame header, otherwise decoded image is garbage. This is > contrary to what is driver supposed to do.

[PATCH] media: cedrus: Add support for VP8 decoding

2020-05-20 Thread Jernej Skrabec
VP8 in Cedrus shares same engine as H264. Note that it seems necessary to call bitstream parsing functions, to parse frame header, otherwise decoded image is garbage. This is contrary to what is driver supposed to do. However, values are not really used, so this might be acceptable. It's possible

Re: [PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread kbuild test robot
Hi Dinghao, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [also build test WARNING on linuxtv-media/master v5.7-rc6 next-20200519] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW,

[PATCH] media: cedrus: Add support for additional output formats

2020-05-20 Thread Jernej Skrabec
If VPU supports untiled output, it actually supports several different YUV 4:2:0 layouts, namely NV12, NV21, YUV420 and YVU420. Add support for all of them. Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus_hw.c | 18 +-

[PATCH] staging: rtl8192e: Using comparison to true is error prone

2020-05-20 Thread John Oldman
fix below issue reported by checkpatch.pl: CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread Dan Carpenter
On Wed, May 20, 2020 at 01:15:44PM +0300, Dmitry Osipenko wrote: > 20.05.2020 12:51, Dinghao Liu пишет: > > pm_runtime_get_sync() increments the runtime PM usage counter even > > it returns an error code. Thus a pairing decrement is needed on > > the error handling path to keep the counter

Re: [PATCH v2 1/8] drivers: most: add usb adapter driver

2020-05-20 Thread Christian.Gromm
On Wed, 2020-05-20 at 16:17 +0300, Dan Carpenter wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Thu, May 14, 2020 at 11:52:49AM +0200, Christian Gromm wrote: > > This patch adds the usb driver source file most_usb.c and > > modifies

Re: [PATCH v2 1/8] drivers: most: add usb adapter driver

2020-05-20 Thread Dan Carpenter
On Thu, May 14, 2020 at 11:52:49AM +0200, Christian Gromm wrote: > This patch adds the usb driver source file most_usb.c and > modifies the Makefile and Kconfig accordingly. > > Signed-off-by: Christian Gromm > --- > v2: > Reported-by: Greg Kroah-Hartman > - don't remove usb driver from

Re: [PATCH] media: ipu3: add a module to probe sensors via ACPI

2020-05-20 Thread Mauro Carvalho Chehab
Em Wed, 20 May 2020 11:26:08 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Wed, May 20, 2020 at 09:44:00AM +0200, Mauro Carvalho Chehab wrote: > > Hi Sakari, > > > > Em Sun, 17 May 2020 13:36:59 +0300 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > > > > Thanks for the patch. > >

Re: [PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread Dmitry Osipenko
20.05.2020 12:51, Dinghao Liu пишет: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. > > Signed-off-by: Dinghao Liu > --- >

[PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/staging/media/tegra-vde/vde.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] media: ipu3: add a module to probe sensors via ACPI

2020-05-20 Thread Sakari Ailus
Hi Mauro, On Wed, May 20, 2020 at 09:44:00AM +0200, Mauro Carvalho Chehab wrote: > Hi Sakari, > > Em Sun, 17 May 2020 13:36:59 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > Thanks for the patch. > > Thanks for reviewing it. > > > > > On Sat, May 16, 2020 at 12:43:39PM +0200, Mauro

Re: [PATCH] media: ipu3: add a module to probe sensors via ACPI

2020-05-20 Thread Mauro Carvalho Chehab
Hi Sakari, Em Sun, 17 May 2020 13:36:59 +0300 Sakari Ailus escreveu: > Hi Mauro, > > Thanks for the patch. Thanks for reviewing it. > > On Sat, May 16, 2020 at 12:43:39PM +0200, Mauro Carvalho Chehab wrote: > > On devices without ACPI, or which ACPI is not prepared to > > export sensor data

[driver-core:driver-core-linus] BUILD SUCCESS 21c27f06587d2c18150d27ca2382a509ec55c482

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus branch HEAD: 21c27f06587d2c18150d27ca2382a509ec55c482 driver core: Fix SYNC_STATE_ONLY device link implementation elapsed time: 484m configs tested: 98 configs skipped: 1 The following

[driver-core:driver-core-testing] BUILD SUCCESS fefcfc968723caf93318613a08e1f3ad07a6154f

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing branch HEAD: fefcfc968723caf93318613a08e1f3ad07a6154f driver core: Remove check in driver_deferred_probe_force_trigger() elapsed time: 483m configs tested: 92 configs skipped: 1 The