File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
drivers/potentiometer/ad514x Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -615,11 +615,12 @@ int ad5144_dpot_chn_read(struct dpot_dev *desc,
615615
616616 return 0 ;
617617}
618+
618619/**
619- * @brief Enter/Exit the top scale or Bottom scale .
620+ * @brief Enter/Exit the top scale or Bottom scale .
620621 * @param desc - digipot descriptor.
621622 * @param chn - digipot channel.
622- * @param IsTopScale - boolean flag to indicat top scale or bottom scale.
623+ * @param IsTopScale - boolean flag to indicate top scale or bottom scale.
623624 * @param nEnable - Enter or exit the TS.
624625 * @return 0 in case of success, negative error code otherwise.
625626 */
@@ -638,7 +639,7 @@ int ad5144_dpot_top_bottom_scale_enable(struct dpot_dev *desc,
638639 if (ret )
639640 return ret ;
640641
641- /* Write contents of serial register data to RDAC (command #1 ) */
642+ /* Enter/Exit the top scale or Bottom scale (command #12 or command #13 ) */
642643 cmd .control = 0x9 ;
643644 cmd .address = ad5144_dpot_cmd_addr [chn ];
644645 cmd .data = nEnable ;
You can’t perform that action at this time.
0 commit comments