浏览代码

soc: soundwire: Fix type of swr addr to support 32bit arch

for 32bit arch based builds, soundwire logical address
fails when compare with dtsi value (64bit). Update addr
type of soundwire slave addr to u64.

Change-Id: Ifda388ca66350a2bc898484cddecbbcab4d3ece4
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam 5 年之前
父节点
当前提交
f504f7e2aa
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/soc/soundwire.h

+ 2 - 2
include/soc/soundwire.h

@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
  */
 
 #ifndef _LINUX_SOUNDWIRE_H
@@ -200,7 +200,7 @@ struct swr_device {
 	struct list_head dev_list;
 	u8               dev_num;
 	struct device    dev;
-	unsigned long    addr;
+	u64 addr;
 	u8 group_id;
 	struct irq_domain *slave_irq;
 	bool slave_irq_pending;