[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <38b71b347f9c75e926dec55d7ecfa078aedd70c6.1690804520.git.marcelo.schmitt1@gmail.com>
Date: Mon, 31 Jul 2023 08:59:35 -0300
From: Marcelo Schmitt <marcelo.schmitt1@...il.com>
To: nuno.sa@...log.com, lars@...afoo.de, Michael.Hennerich@...log.com,
jic23@...nel.org, lgirdwood@...il.com, broonie@...nel.org
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] iio: dac: ad3552r: Correct device IDs
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@...il.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
Powered by blists - more mailing lists