Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27731608rwd; Tue, 4 Jul 2023 07:07:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlFklOuI8THaeIYDmwqK39h9r+XN2KLiZnS0qNcu56cx3JaI6smnlSmgP16rsYJaNwYw8uPK X-Received: by 2002:a05:6a20:9390:b0:12d:91a0:2408 with SMTP id x16-20020a056a20939000b0012d91a02408mr17216304pzh.19.1688479675579; Tue, 04 Jul 2023 07:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688479675; cv=none; d=google.com; s=arc-20160816; b=mW7SSgRl3A0A4Gz3SatceLYItTvjMTcbrDIjIle2LnjRM113cp0tC/XKvpFL0QNSIZ gzUI46vqs6kiB5UZHNkbzrzKYYRkMSGeF4hyJ87xOSeh6nBm+33zIhceWDiaYrV9mtdI 1di3etfKwdddSJIEZjolqBjAaFYKDTZqBmmUkbDMuG/Kf2otU6vdtXgEcoAYmF35OyB+ sBtaEVpx3Jo+9qp9p9lopA16DOU2CbJlwUlQwt6zqPoK+VGrxWLq8JG5DEfETTmCrra0 AXaLfMbF8JWfYaKHhqlEmrqKMx8MQ0FDvfE8IoLaydyFivsw2s+r1mVfszG7ddb4xS5Z gnSw== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=ndTSSHWRqODdrox1wpd4NPXeAAcpDqH6Fo2Zz6taizE=; fh=bugWM1IrKqZyrCn34URAdhuxXQBFzoHri5ncBm/3cro=; b=XjK10O117CfAUVhm8VqiEVRt+8HX2Kq/MC+j+XAtUDBNKNntlZem/jtvdl3JGsGkvh Sf8FYxlJeYjP5Hh1tfy6EhNvlKdh0c3nvlURW2emKqsRT1vXunQQm3VpXtZqFImTR+j5 ijlAgy9urNvdqBHWs9FdNH1e6G/NuDXR5dSZMfqP5CXRJlrWuVoLOzoC3ezT1+eMBuDB 6ZsYplXEltgOS1wl+8X5xEpRe3OiucKrhY6nTKqFYbGq+O0wVyeFOhINH+ldJ7gqX1H3 ZgUlRU8UHtU4KKDCmu/WYlB8AAJfWNfO5jw3pjzZbNXml4rEzbyee479wLV7xe2Se3Pq V3sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dU9DnKCb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u26-20020a056a00099a00b0068035bb7a40si14098086pfg.366.2023.07.04.07.07.32; Tue, 04 Jul 2023 07:07:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dU9DnKCb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231479AbjGDN7k (ORCPT + 99 others); Tue, 4 Jul 2023 09:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbjGDN7k (ORCPT ); Tue, 4 Jul 2023 09:59:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 636E7F2; Tue, 4 Jul 2023 06:59:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D744961268; Tue, 4 Jul 2023 13:59:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A161AC433C7; Tue, 4 Jul 2023 13:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688479178; bh=Rz4B8MHS9txQmFz0LcpLJ1buoy3ozqfsNNEcFtPbKqo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=dU9DnKCbUtQlsSLXuzeuGgmel6qzYFu9wkqmw6ntxqF9XYeh3Vh4Eb9l67a9s6J2K qtPhBaLtyrSyRuIicwn7tX8YgmI7xeBJa1uui19xvDKbjhnmOcLMwC6Rh+WOeVykSW V1xY4UuIn8mm5A+B7f+NM1wx9v/WiWXAKviFkyDlHdd6tt87MVcR2hClDZUdY045jD Dz44o+wGfumCb1StQXr+mzwy1rbGl6dXtoVNKnaN/3ktCf/RZ4T8nd6v14euCkm+1x WQmEFRGCXT5FHTi1B4YjGwyMgMteDjgwqhGl1ro9LTUQwGQHME6NdjZX+bW69Yscms XBPuXhl860tSQ== From: Mark Brown To: Johan Hovold Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Srinivas Kandagatla In-Reply-To: <20230703124701.11734-1-johan+linaro@kernel.org> References: <20230703124701.11734-1-johan+linaro@kernel.org> Subject: Re: [PATCH] ASoC: codecs: wcd938x: fix missing mbhc init error handling Message-Id: <168847917636.48984.6400261777618066312.b4-ty@kernel.org> Date: Tue, 04 Jul 2023 14:59:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-099c9 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 03 Jul 2023 14:47:01 +0200, Johan Hovold wrote: > MBHC initialisation can fail so add the missing error handling to avoid > dereferencing an error pointer when later configuring the jack: > > Unable to handle kernel paging request at virtual address fffffffffffffff8 > > pc : wcd_mbhc_start+0x28/0x380 [snd_soc_wcd_mbhc] > lr : wcd938x_codec_set_jack+0x28/0x48 [snd_soc_wcd938x] > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: codecs: wcd938x: fix missing mbhc init error handling commit: 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66 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