Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp659957lqt; Fri, 19 Apr 2024 07:00:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWBWmGtenD68BoHO1a91n8eLH9iSQRZHNlRryreoVyQ5eEV+KzvelUSzuEk00WVjjUF7cr0LVfivniJFNEXzXWAl+q60SYBEEVGTCHag== X-Google-Smtp-Source: AGHT+IHXDu2AjjtYIe4b1tW1uPXC22xsBwVfjUEEiAeas1VQKpFLjrqtd0tlFYEOQ5b0zKKybdbA X-Received: by 2002:a17:902:8a8a:b0:1e4:b1a2:b40c with SMTP id p10-20020a1709028a8a00b001e4b1a2b40cmr2114842plo.42.1713535230028; Fri, 19 Apr 2024 07:00:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713535230; cv=pass; d=google.com; s=arc-20160816; b=QeS8io5ziWXKYhz99U/7dj/PdNXV8G4JCXxPh3zXgIoCJ9j0iYgW6MRujEsIp5HR5Y SmNe9g/cH5OU4hmYLcYOP1eTPolqZN0tqhEyacixAphsoNxtzrkXU+R9WYyN3TQJ73Zw Xhkz4RPBbyGVCNBwEdvChpCRn7Nj0GILFloN02f3PdE0NgVnhbxCjFljVxh069hjoGkt TvARUID6tFBMyl+mXIm+AzNNDD+buqSOrM2+PQY+A9xxSrMihic8rRw2+h3ZuG0ty74a tgnQJ+k2dYRWPhqShpjGz8vU+Lz9bzDZWIxyF0uFH4xdcDptHrKdl+UiFo6oQkEJXJxu vGag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=et/By6g3N2xOYyVKoVljtP1YQDkPxwi2YdxAV4CacS4=; fh=SmSlEOU5MIlNtcpVemhK/IDyJW5IrjEuBaLb7aywyPY=; b=h8Kt664PUFlGFv03dZIemyDec5pkuIljQ02NdOZv85MjLFtWI+k4dlrXnhXoTe6XZq BVM6BJbaE5XFjhly20mekRyvnEm31Im4IjqE6eWobSuO6Ac6bMhGgKH0VrqvzJDupju9 xNyfwFnaqVezOY0vGTDAr6/7lm1XbjyDZ0mkyF4tGS1CD+n7HRYK/qt9PCyC0VgY0tV5 GwnCVskP+wibdN+NX/qSSuosRxZess5ftRVWBA3gV7jVjCodU+XcTRriZ/y19ByehHHb fiFvKIHmy5HjrTo8eFS4mpO2LueK/DraXMLSmT5RW102k+nEJf5tP2JTgLF96XvlSsTM oYIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Wl77/hBz"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v24-20020a17090331d800b001e6626d82e3si3194898ple.382.2024.04.19.07.00.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Wl77/hBz"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E40FC2844E2 for ; Fri, 19 Apr 2024 14:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BA5512D1FE; Fri, 19 Apr 2024 14:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Wl77/hBz" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17788200D3 for ; Fri, 19 Apr 2024 14:00:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713535223; cv=none; b=kCPrDTYveRQZWPNhB4hKWxxnutR12xN29wvvsGk5sQXGCBm6IVDD6gZUbZLsDSaoEbbaorkWyyMYQGHlsuJbZqWlKeptNSEaz18G5B7beNYqm+F1LYuDu9YfJ3eRRioyrA4QOpsyX4PUOrn6Y6OZ2/GZIKdFJJ6mnGgXLFLJk64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713535223; c=relaxed/simple; bh=+y0ELje6OMvct0t5gsg3M/DTNAL11X3WBMSj9XC06zE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=d2bRLHf1jKhfjupZn64OVvKTofOK5hUOVDh8VcoILDmQiF7cvVaPEUvEtkdQ0OHa4t9RRdrnwyLt4Fkp+2VLd+CAiOndFKGDf5/21f4Y4Fld0AlU+d1nzqQBzEJ7nK/7SAIjhm+pWPNSNfQ2OZPwSdivispiVy/L1r3f8wHp8F8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Wl77/hBz; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-418c2bf2f90so11917175e9.1 for ; Fri, 19 Apr 2024 07:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713535220; x=1714140020; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=et/By6g3N2xOYyVKoVljtP1YQDkPxwi2YdxAV4CacS4=; b=Wl77/hBzZKS2GtcyfBPDyvRfIjCHtBxfC9yFtbID2cGNeY5+JhvxgbFMSXwX9P9eIY 8l6moOWetMAibM4J6YvsWYPWLjGokDjoJ4DPLIWA8WDRbqEOF2g68ShcjmHV+i9c5J1l BSWTNwemmg0AE74qc2VDpIYcjwXD4/EzwdT6PTzXjPy5mUgYe8ctAljoywFni7yMVDj3 XZ8gotNNacs720hgWi2yMqDAuWiVSDb6ZKCjl3wwKhuAM62I+InXWsXD3fjfd+lJ03XT mRPQvO647HReDFFeJxcjpa3TlgU2Qj1b+24464QX+Z+vcGyAKtTvhjYOfK1U3L+mNK50 Bqmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713535220; x=1714140020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=et/By6g3N2xOYyVKoVljtP1YQDkPxwi2YdxAV4CacS4=; b=kofxZzrC1w4D4q4Gc02dS/EninqJm3wz4W93wsiNmolifHGeTl8l+RtFg9PZuQhRej lBXtCeprwsb2iGpJac7dGe/bq2v6KiLEl2MnaUVjGxOqja1BhCLMI6ThEM4kQoHFdv1/ BHDNC+hgJTNGRqcEMVj87mRLlabdm3/jqBi2w7tJONNCsHt0hHFm1brSW0uSCH9cCNoG IsDc9G/n56hBtndcqZ6mTKc+TCqDpUynPhZXdXX9gVcNyCQl8TA64mEXf+XAtKBuM9Q4 xmdOUViozlfkKZxfDe86EJfjuZo8FnCdaQKdGz7C88y4+FfZty8DuHcloh0fFYUJlxuO 1cTA== X-Forwarded-Encrypted: i=1; AJvYcCUq7loLFRwvMKNKb8S9efyA/0aNp2Y9q3rwejx46MJIBlbu4uiCtfMojzTln/hA4B1H6F48cIjoHDkL/toYeXUfmbPfKLMJIorCVOF+ X-Gm-Message-State: AOJu0Yy6W4vV24oFwRTy03XHrv/C3NeccgZDMWu8qrBqNrdHhfun2E++ bTG7vMMftIEB/+MlhMj6XOZ+HIxc7hJkccY5+5Bb8OzTroLvXHWxx2/qIPTIciQ= X-Received: by 2002:a05:600c:190c:b0:418:2981:c70f with SMTP id j12-20020a05600c190c00b004182981c70fmr4291650wmq.19.1713535220351; Fri, 19 Apr 2024 07:00:20 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id l37-20020a05600c1d2500b004186f979543sm10479160wms.33.2024.04.19.07.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:00:19 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, steev@kali.org, jenneron@postmarketos.org, Srinivas Kandagatla Subject: [PATCH] ASoC: codecs: wsa881x: set clk_stop_mode1 flag Date: Fri, 19 Apr 2024 15:00:12 +0100 Message-Id: <20240419140012.91384-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Srinivas Kandagatla WSA881x codecs do not retain the state while clock is stopped, so mark this with clk_stop_mode1 flag. Fixes: a0aab9e1404a ("ASoC: codecs: add wsa881x amplifier support") Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wsa881x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index 3c025dabaf7a..1253695bebd8 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -1155,6 +1155,7 @@ static int wsa881x_probe(struct sdw_slave *pdev, pdev->prop.sink_ports = GENMASK(WSA881X_MAX_SWR_PORTS, 0); pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop; pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; + pdev->prop.clk_stop_mode1 = true; gpiod_direction_output(wsa881x->sd_n, !wsa881x->sd_n_val); wsa881x->regmap = devm_regmap_init_sdw(pdev, &wsa881x_regmap_config); -- 2.43.0