From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 82B562E5B09 for ; Tue, 27 Jan 2026 15:30:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769527836; cv=none; b=eVEju4lvoQse8jO64hempAZyCfI5VymJEcn7R4mlS1LBLS2Dcnd4I3ypak0kgdWhwZ16vnPzsOAMHFPPFuM/tVwklOtva2z8EJXKOSnBOQniVCHZ5S7/tSXRU5UvRSNMSZdhx1E17aQ72VgyKzwUAMZR2UgaAz4RTjJz+ePpg9U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769527836; c=relaxed/simple; bh=FquAxMyEZUnx56clUpEYy39o5UtF6dOtZ+36u7/JQ9E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CU47sIwf65TvK4pDttbadnAYcYhHVk99s3jXdNdggDX9J6ggKdotfKSP8YgqQdou0W3+cpcnOGcgNSTDFznxeAD4s4is5oh2barYGu8kaSOqLok5WC1MT85aXWQ5vS6wNn1W6zU3a16EmCs732rKXEOhFzel/6R2oMpVCUGaDF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kQIQOE71; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kQIQOE71" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4801bc32725so45510255e9.0 for ; Tue, 27 Jan 2026 07:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769527833; x=1770132633; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=y+BzwDOXsuwsKZRnCwm7TR0RjiDWsT5xOCESlbi3ly0=; b=kQIQOE71mNGWcbWuQ9LoRb1g/3Y1ApZzi4AzAEK4qYe3Cqq0wpue47pfFBepFyLTIn WZPOlqQXECroAfsxneCBxbR29qyYtgHVMLMLb8LnpkrKTllMg8FZJNtOqMx5AJ6QSD4Q 4mzh34YGiwsNeUPAh0+3uGrghqzqsXYvWIR3o+/k0IJMsWVCaOG4uWcSGL7HxXlNXZxU Vf8KMbB7+QnviAhR0+jg0mpoyOCb44eo7559fzSPMvsi3pVA4Rfaz/wEDyvMcOM94ThO vUNUB/uaML3Pto2mNDOLcZQDLpU74Y/flWx1DSiFHm5xD0aVh5vuFqijzzk6A9X3ADHN xUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769527833; x=1770132633; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y+BzwDOXsuwsKZRnCwm7TR0RjiDWsT5xOCESlbi3ly0=; b=pxp0yq4XKhC4pd2SndSZKOdU4DP7Hr+LgloN5ceOrAZkqUaC50Y5Wo5bEf7VMqM86Q afXc5GHzTEVwj8RxQPMiEAyJVPWrK8LOHk8Z8G2Vp+8nc//EE6zPeHLUl8rUfGO3D9HB MjrnQXrjY7/6AfUS2zUWplEqOZ28MQRY5mVb/QZGKE6jTKhinuvWRt4YzXO6rCA+/G5V ptRIsssi1uZL49iUUq4XyvkTWpf9jqOpixMWQDS/qfWlybKoUceUKjCkryY9sbLLPSbR L6caPuVX9B3aX8CJIwEgvY8IOUHmU/oKpLqVQPuGFrEByAtX07VHIjyeYCzx23U6HGAo +wbg== X-Forwarded-Encrypted: i=1; AJvYcCWnaPT8FRN8Wt5R37ER9LHEjRNVXmne8fpoz6B6Al5stHyrzg1KPeW9sg/ZdNUTTpJH14kDkCFExKMrq8s=@vger.kernel.org X-Gm-Message-State: AOJu0YyffSnq/BHxL420fQC+YT4jaYuJtT241VFtZ+NxYxBQ/PGNvMEA lBappKiFJBxfpPGM7zWKYi4iRoRgp733mVSegIUkE99PHFGO+VItCEdM X-Gm-Gg: AZuq6aLbqOVbT/z5/Q6UOzfkI9VRkWCVPS+l3k3OcdITZrskGxJxPs1eWnRjaq46paD 02f0ohMOECOOJAUMf5CTGpYS1TjGdToY29rlEqFHPUKoEZycLjPUnbNg0sr2ZurRdMVmAve6dQL 1Ilwskap11eihH4+h2jL+i0ZTfqqgvEROG9De+94TuOG4o9QYPKXbtJLZZvumC10YgNZJFdgkcl nI6qNFDIvNT2f/tReMNw+/7LAPAqWcOGJzv5B7Ycb3XAO95Z0aYdwZQXFeoZbFdCx3d3XzOu/0X 4EjtjWpB0jVEy747xw4e8VBk1xFF3riw69KKofPdlhLXOnaiEKTUXryggJSaopxZRbcOhXDEiNm npjts+AO2zh4HxUGyFp5/dh/ELe8BzgxBK2kTg1goDpxVkib51qM8PF5IBlBZtUj7tXJSvWh87Y Vu1/b3iyhNM2ovfCTT9oSTjzDt3d/VB9vP+f0fiZ9Q/GNPhQb3sfT9PEo= X-Received: by 2002:a05:600c:1f88:b0:459:db7b:988e with SMTP id 5b1f17b1804b1-48069c39a00mr29694175e9.13.1769527832532; Tue, 27 Jan 2026 07:30:32 -0800 (PST) Received: from anton.local (bba-94-59-215-181.alshamil.net.ae. [94.59.215.181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4804db63817sm137117845e9.3.2026.01.27.07.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jan 2026 07:30:32 -0800 (PST) Date: Tue, 27 Jan 2026 19:30:27 +0400 From: "Anton D. Stavinskii" To: Mark Brown Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Jaroslav Kysela , Takashi Iwai , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, sophgo@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v4 5/6] ASoC: sophgo: add CV1800B internal DAC codec driver Message-ID: Mail-Followup-To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Jaroslav Kysela , Takashi Iwai , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, sophgo@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20260120-cv1800b-i2s-driver-v4-0-6ef787dc6426@gmail.com> <20260120-cv1800b-i2s-driver-v4-5-6ef787dc6426@gmail.com> <88ef974b-9fa8-490e-ba19-1fb31ca94342@sirena.org.uk> <153acfd6-cb4f-48ee-82e0-0a18a4a1e9c7@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153acfd6-cb4f-48ee-82e0-0a18a4a1e9c7@sirena.org.uk> On Tue, Jan 27, 2026 at 03:13:59PM +0400, Mark Brown wrote: > On Tue, Jan 27, 2026 at 07:11:24PM +0400, Anton D. Stavinskii wrote: > > On Tue, Jan 27, 2026 at 12:49:52PM +0400, Mark Brown wrote: > > > > Nothing ever mutes the DAC so this is a bit redundant. The mute should > > > probably be a mute_stream() operation. > > > I'm not sure here. DAC mute feature was not implemented because I don't know how > > exactly do that. The public documentation is very weak for my taste. > > This call added here to be sure that override flag is > > not set (override feature replaces the output by setting it to constant > > value and ignoring the input, so it is some kind of mute from my understanding. > > So ensuring this off is needed be sure that DAC will output our I2S data). > > What do you think will be better to do here? > > I'm sure that is needed, but may be better to move > > it to some early stages, like probe function. > > It's probably fine to leave the functional code as is but you should add > some comments to the mute function explaining waht's going on here. Sounds good. Will add comments and prepare v5. Thanks a lot! > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv