소스 검색

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;