Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11444209ybi; Thu, 25 Jul 2019 16:42:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzblTgxW2pZFaxa/zz8S2b/pghY9vNudPD6bDsVaOyZPJ86/qdSi/yyH1UN+IeQ/s3Y7D4s X-Received: by 2002:a63:2807:: with SMTP id o7mr58986073pgo.131.1564098172822; Thu, 25 Jul 2019 16:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564098172; cv=none; d=google.com; s=arc-20160816; b=rgbte4tOKHAAHMDS2aHSQNJaPI7/5Betz37R1OkEcJOyJ47KgDK8ggyGq54EZOeUHs S/rx5vBKZBemoFgYscgEhk3zS1lpR2Or5jUNXGKInkEEKHhGj0l872AjyF3aTi8V0o3z GzTNVXbNSsiw5IWInfB3enfbyVL3Ed/r/rlPemt3WqVXAL+p7rW1PLgsJ0MuiLsK4OpI auYSRjq53YaTC/UzUnFCfC8nRx7fzvxt7XJXMjnlTwOou33nsfn1n3th57BLJiSK5ekB yF0zIzNI286C++525pRJiQgjeQAwJ5BT/croCc8/HZ6XDfvEwpWCIMdZisSV5MkZsfgr CSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=CBJ/iiW03WNZbwG1tzVQbhwzan71iM1eQdarx+UxQ4Q=; b=Q+AvvV4diRSU/ZlGI6YeqNiC7VLHbHvKJt514IMWxVH9wZaaj5RlYmnvnwFxXJz8Nv ivKGcJpFVw6G6I+Qi468AIMg4r4AKMy1aGOdNafvqTVcR3Q6LN1rW6Bmegz3TRHzsvvb i4p3PRBhVAmF/dGLIShNhxnuThLxahpUGzySAlrCKZPhY/lrsTVxnZXOiUFkGKOweydx JNd1kYM6TmM997MlOCvBKZEy0Ado2KgamhMwpzH+Rb4Xujhx+C+fcFrPuTrGqRRl2UoS DYR+540ayiDJGEQzLFXRFxPhmpMio73eiYhxtA58GiMuXhE+E5EuhxMvoV8SNBomRMWA h6Zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si18237347plz.323.2019.07.25.16.42.38; Thu, 25 Jul 2019 16:42:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727395AbfGYXld (ORCPT + 99 others); Thu, 25 Jul 2019 19:41:33 -0400 Received: from mga06.intel.com ([134.134.136.31]:51808 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727374AbfGYXla (ORCPT ); Thu, 25 Jul 2019 19:41:30 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2019 16:41:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,308,1559545200"; d="scan'208";a="369874743" Received: from amrutaku-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.255.230.75]) by fmsmga006.fm.intel.com with ESMTP; 25 Jul 2019 16:41:28 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, vkoul@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, slawomir.blauciak@intel.com, Pierre-Louis Bossart , Sanyog Kale Subject: [RFC PATCH 20/40] soundwire: prototypes for suspend/resume Date: Thu, 25 Jul 2019 18:40:12 -0500 Message-Id: <20190725234032.21152-21-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190725234032.21152-1-pierre-louis.bossart@linux.intel.com> References: <20190725234032.21152-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soundwire/cadence_master.h b/drivers/soundwire/cadence_master.h index c0bf6ff00a44..d375bbfead18 100644 --- a/drivers/soundwire/cadence_master.h +++ b/drivers/soundwire/cadence_master.h @@ -165,6 +165,9 @@ int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns); void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root); +int sdw_cdns_suspend(struct sdw_cdns *cdns); +bool sdw_cdns_check_resume_status(struct sdw_cdns *cdns); + int sdw_cdns_get_stream(struct sdw_cdns *cdns, struct sdw_cdns_streams *stream, u32 ch, u32 dir); -- 2.20.1