From f504f7e2aaa63f29632e9baa23c78a4a5273dcf5 Mon Sep 17 00:00:00 2001 From: Laxminath Kasam Date: Fri, 6 Dec 2019 19:13:13 +0530 Subject: [PATCH] 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 --- include/soc/soundwire.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/soc/soundwire.h b/include/soc/soundwire.h index 655b53ef604c..bb71a357366e 100644 --- a/include/soc/soundwire.h +++ b/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;