Re: [PATCH net 1/3] dpll: export __dpll_device_change_ntf() for use under dpll_lock
From: Jiri Pirko
Date: Tue May 26 2026 - 09:29:36 EST
Tue, May 26, 2026 at 09:45:23AM +0200, ivecera@xxxxxxxxxx wrote:
>Export __dpll_device_change_ntf() so that drivers can send device
>change notifications from within device callbacks, which are already
>called under dpll_lock. Using dpll_device_change_ntf() in that
>context would deadlock.
>
>Add lockdep_assert_held() to catch misuse without the lock held.
>
>Signed-off-by: Ivan Vecera <ivecera@xxxxxxxxxx>
Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>