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

soundwire: cadence_master: 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 2890a636
...@@ -226,8 +226,8 @@ static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) ...@@ -226,8 +226,8 @@ static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value)
/* /*
* IO Calls * IO Calls
*/ */
static enum sdw_command_response cdns_fill_msg_resp( static enum sdw_command_response
struct sdw_cdns *cdns, cdns_fill_msg_resp(struct sdw_cdns *cdns,
struct sdw_msg *msg, int count, int offset) struct sdw_msg *msg, int count, int offset)
{ {
int nack = 0, no_ack = 0; int nack = 0, no_ack = 0;
...@@ -306,8 +306,8 @@ _cdns_xfer_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int cmd, ...@@ -306,8 +306,8 @@ _cdns_xfer_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int cmd,
return cdns_fill_msg_resp(cdns, msg, count, offset); return cdns_fill_msg_resp(cdns, msg, count, offset);
} }
static enum sdw_command_response cdns_program_scp_addr( static enum sdw_command_response
struct sdw_cdns *cdns, struct sdw_msg *msg) cdns_program_scp_addr(struct sdw_cdns *cdns, struct sdw_msg *msg)
{ {
int nack = 0, no_ack = 0; int nack = 0, no_ack = 0;
unsigned long time; unsigned long time;
...@@ -1026,7 +1026,8 @@ EXPORT_SYMBOL(cdns_set_sdw_stream); ...@@ -1026,7 +1026,8 @@ EXPORT_SYMBOL(cdns_set_sdw_stream);
* Find and return a free PDI for a given PDI array * Find and return a free PDI for a given PDI array
*/ */
static struct sdw_cdns_pdi *cdns_find_pdi(struct sdw_cdns *cdns, static struct sdw_cdns_pdi *cdns_find_pdi(struct sdw_cdns *cdns,
unsigned int num, struct sdw_cdns_pdi *pdi) unsigned int num,
struct sdw_cdns_pdi *pdi)
{ {
int i; int i;
......
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