From 1f1fb7752f74dafe246a0f0027d4b223ebc4e99a Mon Sep 17 00:00:00 2001 From: Banajit Goswami Date: Tue, 27 Oct 2015 23:51:49 -0700 Subject: mfd: wcd9xxx: avoid slimbus read/write during ADSP reset During ADSP subsystem restart, all slimbus read/write would fail as the bus is not available. Avoid codec read/write, until the slimbus master in ADSP is up. Change-Id: Iec1933d2625c1cd3dd700b2b3e2ffc7eae64880b Signed-off-by: Banajit Goswami --- include/linux/mfd/wcd9xxx/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/mfd/wcd9xxx/core.h b/include/linux/mfd/wcd9xxx/core.h index af66a8ddfcf0..77ed7a86c60d 100755 --- a/include/linux/mfd/wcd9xxx/core.h +++ b/include/linux/mfd/wcd9xxx/core.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -269,7 +269,7 @@ struct wcd9xxx { int (*post_reset)(struct wcd9xxx *wcd9xxx); void *ssr_priv; - bool slim_device_bootup; + bool dev_up; u32 num_of_supplies; struct regulator_bulk_data *supplies; -- cgit v1.2.3