mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
iio: adc: ad4080: fix AD4880 chip ID
The AD4880 chip ID was incorrectly set to 0x0750. According to the datasheet, the product ID registers read 0x00 (PRODUCT_ID_H) and 0x59 (PRODUCT_ID_L), giving a combined chip ID of 0x0059. Fix the value to match the actual hardware. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
e45a44f219
commit
3f2d03ecf2
|
|
@ -135,7 +135,7 @@
|
|||
#define AD4086_CHIP_ID 0x0056
|
||||
#define AD4087_CHIP_ID 0x0057
|
||||
#define AD4088_CHIP_ID 0x0058
|
||||
#define AD4880_CHIP_ID 0x0750
|
||||
#define AD4880_CHIP_ID 0x0059
|
||||
#define AD4884_CHIP_ID 0x005C
|
||||
|
||||
#define AD4080_MAX_CHANNELS 2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user