diff options
author | Ruslan Babayev <ruslan@babayev.com> | 2019-05-05 12:24:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 09:17:15 +0200 |
commit | 06c5ec6fd0b17b4c5491c58b47133d21388eec62 (patch) | |
tree | 59b83687862995f3ba76206c87e9309979f0ac8d /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 8a652fd142c38d03f6e83a054cff40f2e6878beb (diff) |
iio: dac: ds4422/ds4424 fix chip verification
commit 60f2208699ec08ff9fdf1f97639a661a92a18f1c upstream.
The ds4424_get_value function takes channel number as it's 3rd
argument and translates it internally into I2C address using
DS4424_DAC_ADDR macro. The caller ds4424_verify_chip was passing an
already translated I2C address as its last argument.
Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
Cc: xe-linux-external@cisco.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions