Re: imx8m-blk-ctrl: WARNING, no release() function

Luca Ceresoli
2024-12-17T08:42:23Z

Hello Peng,

On Tue, 17 Dec 2024 01:39:09 +0000
Peng Fan <peng.fan@nxp.com> wrote:

> > Subject: imx8m-blk-ctrl: WARNING, no release() function
>
> Please try this patch.
> https://lore.kernel.org/all/20241206112731.98244-1-peng.fan@oss.nxp.com/

I cherry-picked the two patches from linux-next:

e1a875703470 ("pmdomain: imx-gpcv2: Suppress bind attrs")
afb2a86f002b ("pmdomain: imx8m[p]-blk-ctrl: Suppress bind attrs")

but I still have the same warnings:

[ 5.427038] Device 'mediablk-mipi-csi2-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.
[ 6.464219] Device 'mediablk-mipi-dsi-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.
[ 6.752903] Device 'mediablk-mipi-csi2-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.
[ 7.303529] Device 'mediablk-mipi-dsi-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.
[ 8.006575] Device 'mediablk-mipi-csi2-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.
[ 8.598453] Device 'mediablk-mipi-dsi-1' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst.

This is with 6.13-rc3 on a imx8mp.

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering