Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4091344pxk; Tue, 8 Sep 2020 10:25:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb686ipYy4tdaWBCGk1epkdhVd9h6BosDt5O4vlHeWyWpn4haAxdxZ+hTJME7NNEN00ltU X-Received: by 2002:a17:906:780f:: with SMTP id u15mr28270638ejm.259.1599585918745; Tue, 08 Sep 2020 10:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599585918; cv=none; d=google.com; s=arc-20160816; b=yduLvK2vgHlDpPBsRqgkr633J3xuM6Z9YIaM0S0ngqcBGJommhgzfLNR8SHIC57LqA u56Mc0j2BIpzSdBcOx5VmKFKdnbnr2UiICCZMNQ42yG4w6e6YSyrF/gKUEcKzZENGWMR JjAbbW0y5MS5jL0L3ktpn/jJkuSCC6UwV5X9eZzX4dMlce/RWgnYzWz3BKXIZE5k3kuR F9RXLmkC2ntpaj/gsHUVWqHt/NUjeTRGptYM3dgmH9tO/wjxvUkwfINVDcgdFk9Scl7/ XWrbJm0aEr4Dc90No+wsHE39Fuxl4zrx2k54W3t0sGN4nz9DiPypZCD0Ku239P2LljRI gadQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=dzEazo1xxj3Y+Tiu616uRdew/O3KJqYVeej4S6tTCpQ=; b=CwUI9zgf9SOVTZSWw3kZhuV8kJG9WvB7OZpIJe4Ymp8NTIOnYITcD7coELm5cyHy64 WqtoGhrHq6SuZQ/uh+SUbIk/AtjCjfFOCfONErYEslVnMADkabOgWCSkM4K/NZR+sbs3 dw3TXf+Ki7lrA0jvG6O3ZgVOROTa00TCqy/2xzqS2SQBvE05KM7jAzvAv3v+hQWE5zHR orsXLefcYdc4PKXI31moCo2rgzujtaBlxK3SsM4DZhpN9ahq73BFWOLwjwmvfReJkJNN GzsYxPO0EMPwratmcH7vptR1RZzuZfcULPZbDaLk6hpQpTDspG6i9E6ASx/NUPqN8iEX WMZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mcVDkvKt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si11658551edx.70.2020.09.08.10.24.56; Tue, 08 Sep 2020 10:25:18 -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=@kernel.org header.s=default header.b=mcVDkvKt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731982AbgIHRYH (ORCPT + 99 others); Tue, 8 Sep 2020 13:24:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:56906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731783AbgIHRVf (ORCPT ); Tue, 8 Sep 2020 13:21:35 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 404B520768; Tue, 8 Sep 2020 17:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599585694; bh=CydX4Uf6mYj5NA3L5lJM8lBHuUJHDrjKYXI2i6uM+fA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=mcVDkvKtyJuAL98Ebhp9/5sJ+dgFDUg5/1tRHdl0VQUkSTFivNemF+i+m3QcLlXEu qJ22/E76u5+v8M7Ww/EE2F/pQiCELf5asWk9h9FwNE0+cO5ruwlpdtAkr/xsxyjsEy X0lic3RidTuUopbVPmUuCzIE95qPElAeHxMNrlWA= Date: Tue, 08 Sep 2020 18:20:50 +0100 From: Mark Brown To: lgirdwood@gmail.com, dmurphy@ti.com, Camel Guo , tiwai@suse.com Cc: Camel Guo , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel@axis.com In-Reply-To: <20200908083521.14105-1-camel.guo@axis.com> References: <20200908083521.14105-1-camel.guo@axis.com> Subject: Re: [PATCH 1/2] ASoC: tlv320adcx140: Avoid accessing invalid gpio_reset Message-Id: <159958562064.16576.7853800514030717096.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Sep 2020 10:35:20 +0200, Camel Guo wrote: > When gpio_reset is not well defined in devicetree, the > adcx140->gpio_reset is an error code instead of NULL. In this case, > adcx140->gpio_reset should not be used by adcx140_reset. This commit > sets it NULL to avoid accessing an invalid variable. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: tlv320adcx140: Wake up codec before accessing register commit: 1a5ce48fd667128e369fdc7fb87e21539aed21b5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark