[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <398e06b3-351e-4a1d-b3e4-9c02893ccd83@moroto.mountain>
Date: Tue, 9 Jan 2024 11:12:59 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Hidenori Kobayashi <hidenorik@...omium.org>
Cc: Sakari Ailus <sakari.ailus@...ux.intel.com>,
Bingbu Cao <bingbu.cao@...el.com>,
Tianshu Qiu <tian.shu.qiu@...el.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Yong Zhi <yong.zhi@...el.com>, stable@...r.kernel.org,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
linux-media@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] media: staging: ipu3-imgu: Set fields before
media_entity_pads_init()
On Tue, Jan 09, 2024 at 05:09:09PM +0900, Hidenori Kobayashi wrote:
> The imgu driver fails to probe with the following message because it
> does not set the pad's flags before calling media_entity_pads_init().
>
> [ 14.596315] ipu3-imgu 0000:00:05.0: failed initialize subdev media entity (-22)
> [ 14.596322] ipu3-imgu 0000:00:05.0: failed to register subdev0 ret (-22)
> [ 14.596327] ipu3-imgu 0000:00:05.0: failed to register pipes (-22)
> [ 14.596331] ipu3-imgu 0000:00:05.0: failed to create V4L2 devices (-22)
>
> Fix the initialization order so that the driver probe succeeds. The ops
> initialization is also moved together for readability.
>
> Fixes: a0ca1627b450 ("media: staging/intel-ipu3: Add v4l2 driver based on media framework")
> Cc: <stable@...r.kernel.org> # 6.7
> Cc: Dan Carpenter <dan.carpenter@...aro.org>
> Signed-off-by: Hidenori Kobayashi <hidenorik@...omium.org>
> ---
Thanks so much!
regards,
dan carpenter
Powered by blists - more mailing lists