commit | 3ad80b828b2533f37c221e2df155774efd6ed814 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Thu Jul 03 16:51:36 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Thu Jul 03 19:42:40 2014 +0100 |
tree | 1621da76a8fa3d03550bab80cd9a09a86b1f1f4e | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f [diff] |
ASoC: adau1701: fix adau1701_reg_read() Fix a long standing bug in the read register routing of adau1701. The bytes arrive in the buffer in big-endian, so the result has to be shifted before and-ing the bytes in the loop. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org