Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp672392pxb; Fri, 3 Sep 2021 10:40:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVnSgtylGKYYU45HhZg85Hc5oPgPRNZd8b2v41jYGHf5vCAozCA4oNq3r33FlFwfMqombp X-Received: by 2002:a05:6402:198:: with SMTP id r24mr126258edv.93.1630690802214; Fri, 03 Sep 2021 10:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630690802; cv=none; d=google.com; s=arc-20160816; b=YfJ1CI8twcC8CE5u0hqxoRzsQoDqn8KbppTRRiqcVqjyTCStV9FI3foBp8g1HLRFNm SD6Vz/TguPwPpOe5IM8atItAPMjCvEZF0QMfyBY5y/ZAHy6sO3gWlkMc1F9/hhH86kuK C55ZXVJJYgpFWixcU11BBW5WHbc6pOxBIv6KLkzmpKpWk3BQqHGT12HvYxI8paIAMtTb LjjOXuhHH+aBkGxd94HAAqsIVYsp0cGlpLsP5PkLZVvd6nfKah9KjAXJ+CgATA1zHpXL B8nmOtpYMPkvMDAcYUrwHSHoP0+95ygjSHILksIz2jr9b3pXZzS5JxUPYpbMF6TFNrgY sRWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/CGyHutE8SUWDQZLQBgHrR7y026IS7BPjRAi3adYvgQ=; b=MJ0i014Y7pA/4t+qjek16jYontcfxA3kChTGqS5DW7FLTlhL5w6pKvdu/WdTo21ApQ Y0A1leeDoNFpZ+fzfTfELyXtRSYIx3oAVnqdW4EBoWHLP8GFQAUTyZEeOVrBl+rEZx9Y tKlyBnuBapM6IMyuEyOiFcnOWrFck4Kz2ArfLlBUFV3WXnK3zrt8WdbU4H13uyxT5qyC H7vf2PZ8Q4Gjkv5rabLxhraN0GhUJ7wj3MnSLW+EddNZxJC01yZ5y0ftwhT/E8Okdpfs 8y6ewtaAj2C+UAGu1FeuqVwlv9AF74yCqiau6DImHqsJnq1tlCKXNoIJC7jOZMgbT/J5 kB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dnyon.com header.s=mail header.b=bhYZ4ZHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm17si5645432ejc.36.2021.09.03.10.39.37; Fri, 03 Sep 2021 10:40:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dnyon.com header.s=mail header.b=bhYZ4ZHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349726AbhICPxx (ORCPT + 99 others); Fri, 3 Sep 2021 11:53:53 -0400 Received: from dnyon.com ([82.223.165.189]:56374 "EHLO dnyon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235851AbhICPxw (ORCPT ); Fri, 3 Sep 2021 11:53:52 -0400 Received: from dnyon.com (55.red-81-39-194.dynamicip.rima-tde.net [81.39.194.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dnyon.com (Postfix) with ESMTPSA id 04EC33FEB7; Fri, 3 Sep 2021 15:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1630684371; bh=N5ikRjsunM6u4Rj6jCsrMSVHxexBHAHR5BNCYYEhc5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bhYZ4ZHs0crDvHNWVNKHa5OgtJANem0yfORE1sURs0+UvlLGMg9DI9c0AEdvttxDA YiOkxygYikSY8Nr2KdyOTsKKak2bAIpRmyUYLdvzODGserD1Nm5wbvwkFSfO0WQHKL ZscIYdheGAxRdtvF/PeF1J9w34KY6hrAU15GrXVTcbES05SD/FMU+ajYPEidgkIHfq t75BoUzrGROloy1Dn87itkJiErZu8BLhUAYxN+WXKl5S0dns8aYKChE3paBMbIhych QqD9Hs37aMskC9Md993M8U6PDKr6Nkb1Bo6G8Z8+di3ZgfyYvIO4miQ08WptNtpuJf +rNje2K2hT9Rg== From: Alejandro Tafalla To: Andy Shevchenko Cc: Liam Girdwood , Mark Brown , Rob Herring , Jaroslav Kysela , Takashi Iwai , ALSA Development Mailing List , devicetree , Linux Kernel Mailing List Subject: Re: [PATCH v3 1/2] ASoC: max98927: Handle reset gpio when probing i2c Date: Fri, 03 Sep 2021 17:52:29 +0200 Message-ID: <11848098.O9o76ZdvQC@alexpc> In-Reply-To: References: <04a18f4115539752429da55fb857834cea0944e5.1630632805.git.atafalla@dnyon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On viernes, 3 de septiembre de 2021 10:18:14 (CEST) Andy Shevchenko wrote: > On Fri, Sep 3, 2021 at 4:51 AM Alejandro wrote: > > From: Alejandro Tafalla > > > > Drive the reset gpio if defined in the DTS node. > > ... > > > + reset_gpio > > + = devm_gpiod_get_optional(&i2c->dev, "reset", > > GPIOD_OUT_LOW); + if (IS_ERR(reset_gpio)) { > > + ret = PTR_ERR(reset_gpio); > > + return dev_err_probe(&i2c->dev, ret, "failed to request > > GPIO reset pin"); > Not sure why my comments have been ignored here. > > > + } > > -- > With Best Regards, > Andy Shevchenko Sorry, I misread your suggestion and didn't notice PTR_ERR was also in the same line.