Skip to content

Commit a8d5f02

Browse files
committed
drivers:potentiometer:ad514x: Enable dpot_send_cmd API for AD5141, AD5142, and AD5144
Signed-off-by: Anush Shetty <[email protected]>
1 parent 1cb38d8 commit a8d5f02

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/potentiometer/ad514x/ad5141.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ const struct dpot_ops ad5141_dpot_ops = {
963963
.dpot_copy_nvm_to_rdac = &ad5141_dpot_copy_nvm_to_rdac,
964964
.dpot_rdac_linear_update = &ad5141_dpot_rdac_linear_update,
965965
.dpot_rdac_6db_update = &ad5141_dpot_rdac_6db_update,
966-
// .dpot_send_cmd = &ad5141_dpot_send_cmd,
966+
.dpot_send_cmd = &ad5141_dpot_send_cmd,
967967
.dpot_remove = &ad5141_dpot_remove,
968968
.dpot_enable_top_bottom_scale = &ad5141_dpot_top_bottom_scale_enable
969969
};

drivers/potentiometer/ad514x/ad5142.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ const struct dpot_ops ad5142_dpot_ops = {
915915
.dpot_copy_nvm_to_rdac = &ad5142_dpot_copy_nvm_to_rdac,
916916
.dpot_rdac_linear_update = &ad5142_dpot_rdac_linear_update,
917917
.dpot_rdac_6db_update = &ad5142_dpot_rdac_6db_update,
918-
//.dpot_send_cmd = &ad5142_dpot_send_cmd,
918+
.dpot_send_cmd = &ad5142_dpot_send_cmd,
919919
.dpot_remove = &ad5142_dpot_remove,
920920
.dpot_enable_top_bottom_scale = &ad5142_dpot_top_bottom_scale_enable
921921
};

drivers/potentiometer/ad514x/ad5144.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ const struct dpot_ops ad5144_dpot_ops = {
973973
.dpot_copy_nvm_to_rdac = &ad5144_dpot_copy_nvm_to_rdac,
974974
.dpot_rdac_linear_update = &ad5144_dpot_rdac_linear_update,
975975
.dpot_rdac_6db_update = &ad5144_dpot_rdac_6db_update,
976-
//.dpot_send_cmd = &ad5144_dpot_send_cmd,
976+
.dpot_send_cmd = &ad5144_dpot_send_cmd,
977977
.dpot_remove = &ad5144_dpot_remove,
978978
.dpot_enable_top_bottom_scale = &ad5144_dpot_top_bottom_scale_enable
979979
};

0 commit comments

Comments
 (0)