Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: dac: ad3552r: Correct device IDs
@ 2023-07-31 11:59 Marcelo Schmitt
  2023-08-01 18:01 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Schmitt @ 2023-07-31 11:59 UTC (permalink / raw)
  To: nuno.sa, lars, Michael.Hennerich, jic23, lgirdwood, broonie
  Cc: linux-iio, linux-kernel

Device IDs for AD3542R and AD3552R were swapped.
Change device ID values so they are correct for each DAC chip.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
---
 drivers/iio/dac/ad3552r.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/dac/ad3552r.c b/drivers/iio/dac/ad3552r.c
index d5ea1a1be122..a492e8f2fc0f 100644
--- a/drivers/iio/dac/ad3552r.c
+++ b/drivers/iio/dac/ad3552r.c
@@ -140,8 +140,8 @@ enum ad3552r_ch_vref_select {
 };
 
 enum ad3542r_id {
-	AD3542R_ID = 0x4008,
-	AD3552R_ID = 0x4009,
+	AD3542R_ID = 0x4009,
+	AD3552R_ID = 0x4008,
 };
 
 enum ad3552r_ch_output_range {
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-01 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 11:59 [PATCH] iio: dac: ad3552r: Correct device IDs Marcelo Schmitt
2023-08-01 18:01 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox