Commit 73ede046 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Greg Kroah-Hartman

soundwire: bus: fix alignment issues

Use Linux style
Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 806a11f0
...@@ -172,7 +172,8 @@ static inline int do_transfer(struct sdw_bus *bus, struct sdw_msg *msg) ...@@ -172,7 +172,8 @@ static inline int do_transfer(struct sdw_bus *bus, struct sdw_msg *msg)
} }
static inline int do_transfer_defer(struct sdw_bus *bus, static inline int do_transfer_defer(struct sdw_bus *bus,
struct sdw_msg *msg, struct sdw_defer *defer) struct sdw_msg *msg,
struct sdw_defer *defer)
{ {
int retry = bus->prop.err_threshold; int retry = bus->prop.err_threshold;
enum sdw_command_response resp; enum sdw_command_response resp;
...@@ -261,7 +262,6 @@ int sdw_transfer_defer(struct sdw_bus *bus, struct sdw_msg *msg, ...@@ -261,7 +262,6 @@ int sdw_transfer_defer(struct sdw_bus *bus, struct sdw_msg *msg,
return ret; return ret;
} }
int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf) u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf)
{ {
......
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