]> git.baikalelectronics.ru Git - kernel.git/commit
iio:ad7793: Fix ad7785 product ID
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 12 Oct 2015 12:56:28 +0000 (14:56 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Oct 2015 13:39:42 +0000 (13:39 +0000)
commit266768011238e9b1439e8e7b0908955b2c6e7673
tree73da5cfb16ad8fc08daf7b86f5626bf7d1e7d159
parentfdc01e870134570fb6ce26c0939db2016867dc24
iio:ad7793: Fix ad7785 product ID

While the datasheet for the AD7785 lists 0xXB as the product ID the actual
product ID is 0xX3.

Fix the product ID otherwise the driver will reject the device due to non
matching IDs.

Fixes: 76880c09f088 ("staging:iio:ad7793: Implement stricter id checking")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad7793.c