[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190105020249.8639-22-pierre-louis.bossart@linux.intel.com>
Date: Fri, 4 Jan 2019 20:02:49 -0600
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: alsa-devel@...a-project.org
Cc: tiwai@...e.de, broonie@...nel.org, liam.r.girdwood@...ux.intel.com,
Bard liao <yung-chuan.liao@...ux.intel.com>,
Oder Chiou <oder_chiou@...ltek.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 21/21] ASoC: rl6437a: use __be32 for a __be32 buf
From: Bard liao <yung-chuan.liao@...ux.intel.com>
The buf in rl6347a_hw_read is __be32.
Cc: Oder Chiou <oder_chiou@...ltek.com>
Signed-off-by: Bard liao <yung-chuan.liao@...ux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
---
sound/soc/codecs/rl6347a.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/rl6347a.c b/sound/soc/codecs/rl6347a.c
index 8f571cf8edd4..c0d729b45277 100644
--- a/sound/soc/codecs/rl6347a.c
+++ b/sound/soc/codecs/rl6347a.c
@@ -64,8 +64,8 @@ int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value)
struct i2c_client *client = context;
struct i2c_msg xfer[2];
int ret;
- __be32 be_reg;
- unsigned int index, vid, buf = 0x0;
+ __be32 be_reg, buf = 0x0;
+ unsigned int index, vid;
/* handle index registers */
if (reg <= 0xff) {
--
2.17.1
Powered by blists - more mailing lists