iio:ad7793: Fix ad7785 product ID
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 12 Oct 2015 12:56:28 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Feb 2016 19:57:48 +0000 (11:57 -0800)
commit1a640c6b2d1d4fdbf424b2958daa23ffbbbb9e06
tree93f00a718f849ad62cb185e1b6e1bd765c0f3152
parent8a3f8369fb82b6c2dd8bed82e219b8a49abade2d
iio:ad7793: Fix ad7785 product ID

commit 785171fd6cd7dcd7ada5a733b6a2d44ec566c3a0 upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ad7793.c