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

soundwire: cadence_master: fix alignment issues

parent 2890a636
Loading
Loading
Loading
Loading
+40 −39
Original line number Diff line number Diff line
@@ -226,8 +226,8 @@ static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value)
/*
 * IO Calls
 */
static enum sdw_command_response cdns_fill_msg_resp(
			struct sdw_cdns *cdns,
static enum sdw_command_response
cdns_fill_msg_resp(struct sdw_cdns *cdns,
		   struct sdw_msg *msg, int count, int offset)
{
	int nack = 0, no_ack = 0;
@@ -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);
}

static enum sdw_command_response cdns_program_scp_addr(
			struct sdw_cdns *cdns, struct sdw_msg *msg)
static enum sdw_command_response
cdns_program_scp_addr(struct sdw_cdns *cdns, struct sdw_msg *msg)
{
	int nack = 0, no_ack = 0;
	unsigned long time;
@@ -1026,7 +1026,8 @@ EXPORT_SYMBOL(cdns_set_sdw_stream);
 * Find and return a free PDI for a given PDI array
 */
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;