summaryrefslogtreecommitdiff
path: root/include/linux/dpll.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-02-01 15:39:46 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-02-01 15:39:47 +0100
commitcacfd6bfc381ce0e71dfb4ab902ca0fb0e1abe0f (patch)
treefdf632f4f2dd2f7bd0dca938829d3139b0966989 /include/linux/dpll.h
parent644c64318de0df5f4ea9f00e4b8cc262b343a93f (diff)
parent2c54a4d71246379f4ffb9beb6a780f9a49fdfc24 (diff)
Merge branch 'dpll-expose-lock-status-error-value-to-user'
Jiri Pirko says: ==================== dpll: expose lock status error value to user From: Jiri Pirko <jiri@nvidia.com> Allow to expose lock status errort value over new DPLL generic netlink attribute. Extend the lock_status_get() op by new argument to get the value from the driver. Implement this new argument fill-up in mlx5 driver. ==================== Link: https://lore.kernel.org/r/20240130120831.261085-1-jiri@resnulli.us Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/dpll.h')
-rw-r--r--include/linux/dpll.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dpll.h b/include/linux/dpll.h
index 9cf896ea1d41..9cb02ad73d51 100644
--- a/include/linux/dpll.h
+++ b/include/linux/dpll.h
@@ -19,6 +19,7 @@ struct dpll_device_ops {
enum dpll_mode *mode, struct netlink_ext_ack *extack);
int (*lock_status_get)(const struct dpll_device *dpll, void *dpll_priv,
enum dpll_lock_status *status,
+ enum dpll_lock_status_error *status_error,
struct netlink_ext_ack *extack);
int (*temp_get)(const struct dpll_device *dpll, void *dpll_priv,
s32 *temp, struct netlink_ext_ack *extack);