summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorAlex Tran <alex.t.tran@gmail.com>2025-09-01 11:40:07 -0700
committerMark Brown <broonie@kernel.org>2025-09-08 16:33:32 +0100
commit1cf87861a2e02432fb68f8bcc8f20a8e42acde59 (patch)
tree744acd5625a617e6e1bcf17a39ecefc388c48305 /rust/helpers/platform.c
parent960ef523cfe420ae8fdd801f1d12be0fb7ed8719 (diff)
ASoC: codecs: tlv320dac33: Convert to use gpiod api
Convert driver to use the gpiod api instead of the legacy GPIO interface. Replace power_gpio integer with reset_gpiod descriptor in the dac33 struct. Use devm_gpiod_get_optional() to automatically handle resource cleanup and add proper error checking when setting GPIO values. Signed-off-by: Alex Tran <alex.t.tran@gmail.com> Message-ID: <20250901184008.1249535-2-alex.t.tran@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions