dpll: netlink/core: change pin frequency set behavior
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Wed, 11 Oct 2023 10:12:36 +0000 (12:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Oct 2023 15:08:25 +0000 (16:08 +0100)
commit20f6677234d8105e55beca355135e94bb10fbf74
tree5de9a4d43ef857b34283feb278584233a03a66b4
parent90e1c90750d773fc991833f317b439236e13fc25
dpll: netlink/core: change pin frequency set behavior

Align the approach of pin frequency set behavior with the approach
introduced with pin phase adjust set.
Fail the request if any of devices did not registered the callback ops.
If callback op on any pin's registered device fails, return error and
rollback the value to previous one.

Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/dpll/dpll_netlink.c