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)
commit785171fd6cd7dcd7ada5a733b6a2d44ec566c3a0
tree73da5cfb16ad8fc08daf7b86f5626bf7d1e7d159
parent5dcbe97bedd6ba4b0f574a96cc2e293d26f3d857
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: e786cc26dcc5 ("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