ASoC: rl6437a: use __be32 for a __be32 buf
authorBard liao <yung-chuan.liao@linux.intel.com>
Sat, 5 Jan 2019 02:02:49 +0000 (20:02 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 16:54:20 +0000 (16:54 +0000)
The buf in rl6347a_hw_read is __be32.

Cc: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6347a.c

index 8f571cf8edd4d0c6cb93aaefb640771c1a6a2442..c0d729b4527724767c162da98339867361680f3d 100644 (file)
@@ -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) {