* Re: issue with patch: media: venus: core, venc, vdec: Fix probe dependency error
[not found] ` <CAOiWkA_HQrnhDOOKWfXd3eP_e0g68vWiaGP361DAhvENdh=4Tw@mail.gmail.com>
@ 2022-01-27 22:28 ` Guenter Roeck
2022-01-29 11:48 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2022-01-27 22:28 UTC (permalink / raw)
To: Martin Faltesek; +Cc: bryan.odonoghue, Greg Kroah-Hartman, stable
On Thu, Jan 27, 2022 at 1:44 PM Martin Faltesek <mfaltesek@google.com> wrote:
+stable@
>
> +gregkh@linuxfoundation.org
>
> ddbcd0c58a6a is upstream fix for this and needs to be applied to affected stable releases.
>
My little tool tells me that this is only needed in v5.10.y.
Guenter
> On Thu, Jan 27, 2022 at 3:21 PM Martin Faltesek <mfaltesek@google.com> wrote:
>>
>> Hi Bryan,
>>
>> I was merging this patch into our code base that was in 5.10.94:
>>
>> commit eeefa2eae8fc82ad757a2241b9f82ac33e99e6b4
>> Author: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
>> AuthorDate: Fri Feb 5 19:11:49 2021 +0100
>> Commit: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> CommitDate: Thu Jan 27 10:53:51 2022 +0100
>>
>> media: venus: core, venc, vdec: Fix probe dependency error
>>
>>
>>
>> @@ -364,11 +365,14 @@ static int venus_remove(struct platform_device *pdev)
>> pm_runtime_disable(dev);
>>
>> if (pm_ops->core_put)
>> - pm_ops->core_put(dev);
>> + pm_ops->core_put(core);
>> +
>> + v4l2_device_unregister(&core->v4l2_dev);
>>
>> hfi_destroy(core);
>>
>> v4l2_device_unregister(&core->v4l2_dev);
>> +
>> mutex_destroy(&core->pm_lock);
>> mutex_destroy(&core->lock);
>> venus_dbgfs_deinit(core);
>>
>> This section introduces unregistering twice, before and after destroy.
>> I think there must be a patch that fixed this since this error does
>> not exist in linus's tree.
>> I'm guessing there might be a missing patch you'd want to grab.
>>
>> Can you comment on this?
>>
>> Thanks,
>>
>> Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: issue with patch: media: venus: core, venc, vdec: Fix probe dependency error
2022-01-27 22:28 ` issue with patch: media: venus: core, venc, vdec: Fix probe dependency error Guenter Roeck
@ 2022-01-29 11:48 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2022-01-29 11:48 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Martin Faltesek, bryan.odonoghue, stable
On Thu, Jan 27, 2022 at 02:28:56PM -0800, Guenter Roeck wrote:
> On Thu, Jan 27, 2022 at 1:44 PM Martin Faltesek <mfaltesek@google.com> wrote:
> +stable@
> >
> > +gregkh@linuxfoundation.org
> >
> > ddbcd0c58a6a is upstream fix for this and needs to be applied to affected stable releases.
> >
> My little tool tells me that this is only needed in v5.10.y.
Now queued up, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-29 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAOiWkA-_CJ7VXEo8NicmFqi_3Z78A4662x-ydrH2F4YA+qibwQ@mail.gmail.com>
[not found] ` <CAOiWkA_HQrnhDOOKWfXd3eP_e0g68vWiaGP361DAhvENdh=4Tw@mail.gmail.com>
2022-01-27 22:28 ` issue with patch: media: venus: core, venc, vdec: Fix probe dependency error Guenter Roeck
2022-01-29 11:48 ` Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.