mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Export __dpll_pin_change_ntf() so that drivers can send pin change notifications from within pin callbacks, which are already called under dpll_lock. Using dpll_pin_change_ntf() in that context would deadlock. Add lockdep_assert_held() to catch misuse without the lock held. Acked-by: Vadim Fedorenko <[email protected]> Signed-off-by: Ivan Vecera <[email protected]> Signed-off-by: Petr Oros <[email protected]> Tested-by: Alexander Nowlin <[email protected]> Reviewed-by: Arkadiusz Kubalewski <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
14 lines
355 B
C
14 lines
355 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2023 Meta Platforms, Inc. and affiliates
|
|
* Copyright (c) 2023 Intel and affiliates
|
|
*/
|
|
|
|
int dpll_device_create_ntf(struct dpll_device *dpll);
|
|
|
|
int dpll_device_delete_ntf(struct dpll_device *dpll);
|
|
|
|
int dpll_pin_create_ntf(struct dpll_pin *pin);
|
|
|
|
int dpll_pin_delete_ntf(struct dpll_pin *pin);
|