Commit b8e022e8 authored by Bard liao's avatar Bard liao Committed by Mark Brown

ASoC: rl6437a: use __be32 for a __be32 buf

The buf in rl6347a_hw_read is __be32.

Cc: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: default avatarBard liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 60b52ed6
...@@ -64,8 +64,8 @@ int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) ...@@ -64,8 +64,8 @@ int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value)
struct i2c_client *client = context; struct i2c_client *client = context;
struct i2c_msg xfer[2]; struct i2c_msg xfer[2];
int ret; int ret;
__be32 be_reg; __be32 be_reg, buf = 0x0;
unsigned int index, vid, buf = 0x0; unsigned int index, vid;
/* handle index registers */ /* handle index registers */
if (reg <= 0xff) { if (reg <= 0xff) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment