Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp832794lqt; Thu, 6 Jun 2024 22:51:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW39KETsE38BDHNoxFP2npnNZ1q0iL3ZIAPr89NNp7Tzf7fUv5pYOUlub1eJxWTPBmNMc8hdsq10ARLQhrhvC5qM8xD9aVxfj+7T9Xr+Q== X-Google-Smtp-Source: AGHT+IF8ZF0D8ESaS+Ggym+H5TgqS2O6OT5lwkfrMG11onQv1CocXxnfRiRY7/+BQgCP68joWrP8 X-Received: by 2002:a17:903:32ce:b0:1f6:502d:ca89 with SMTP id d9443c01a7336-1f6b8c4da66mr61684115ad.6.1717739460621; Thu, 06 Jun 2024 22:51:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717739460; cv=pass; d=google.com; s=arc-20160816; b=dX3c0MLCuNSF6b0F0aPH4lXv1IFqp4kDv9x/E8iPllIUSkBAAYpSFeLaGpkGiK9ijf 3Q+6yZr+RqyLYeaQViuFlsOWrAIQ0XLupcfuwNDwWP2UEua2zshRxpky3Lg2XcSwSUQM T42Ri0ySEe9/hA7Oj8mXX4o1kvvoa8gXzWdFmXs8YMK1bnLV/GZcG6quW2C7fOI5Swe3 HDH2QNBf6Tsxzj6wWQkLzMtCr2Xpck1nrnKK+6QNfmbGWU1mEaK7iRR6Zf5p5lcbvcnS 43C7O0bJ735QsWsxcwlGKnH1lOY75e3NAHzWnGIjKIzdmtvJNdwYXyw/xyH96IjG5mS6 fjtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/bqzV5tdPmmU3mHMbEPSLVv1cy1wjxHPrAkA1dFhc+c=; fh=wYeAq0yJRFPPvQRHsPvSEN44oI05XFtNlLDWY9/3bvY=; b=odgKFAVeDxRpikawxCDW3JHK1V7iZoHvz9GZ/CAvk/SesRGNrW/6dKmbS8cyXZICI6 E/5xkdvS3xRUCHOPyWQjWcbPybtNK7lmj7JFvw8aShO2zMwMtqu/28WuJ2cULpdgYtSI wLz3rODEz/HzVThFB0gYF/y1DVYJaqHGREo5Y58meh9oZCt5wYvhimL13ObUzu8aXio0 OhASlOschOlxH2yzOQALzuva+wNjgacxhPGjtdv2HI8BOo6GsMPxdstI6IXOfM6V4jdZ kGgMk4yTsCyUcyfJ3iVE4UTPCoJz3hcZyTUPhYz3GlYJ78nOXstwSIVsU9dbkRYw4zmr fEMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w+Kv65ke; 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-205427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205427-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. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7e417fsi24718845ad.355.2024.06.06.22.51.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 22:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w+Kv65ke; 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-205427-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205427-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 544A92864B9 for ; Fri, 7 Jun 2024 05:50:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D10B214F137; Fri, 7 Jun 2024 05:50:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="w+Kv65ke" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 5361814EC77 for ; Fri, 7 Jun 2024 05:50:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717739447; cv=none; b=TnaQRfsoD8gQhtEroVPuvTQRMpaP4FySzPI+2/wF5nRmvJ5WcwYb96Ft3tgWRsA2vwf3leHpH/dj6p9ftJe8nIomhdGASc6kSb9xBOTftQifmrkSek/141Odr/YvZhhBxDrzjix0j3TLBU59s5GepgLUoQkLSY7hNbm9MdEeRE4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717739447; c=relaxed/simple; bh=WWjnJuF2jvrWqXlg80eSCREBoaO3Hy82DlIpXP9JGCg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o1o8xfSq+Vw5Ts52DZESBEV4VRh+uDHySKbJaeR7akkmj3S6H/SUwcYSTlRsw/N1kedO6jovG92TQLenp/B40Ryy3jOLrdB0UNlwWRh8aTzM1eDejZ8pkf1/5mJ823jVxaW7HcYdpx4R0a5FWM+Dx94L8q+W47QttoreLMi8AG4= 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=w+Kv65ke; arc=none smtp.client-ip=209.85.167.48 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-lf1-f48.google.com with SMTP id 2adb3069b0e04-52b936c958dso2062414e87.0 for ; Thu, 06 Jun 2024 22:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717739443; x=1718344243; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/bqzV5tdPmmU3mHMbEPSLVv1cy1wjxHPrAkA1dFhc+c=; b=w+Kv65keYiLfiaP3WdqYU8Q+diZ65p8c/RfgkobhGA6wgaWj0IT8KKYAZkj3xWU9SR 1AuoSHWgnTrbFLudPWqRtJmFDWsthm04HOVE9nSWD7AIJgpGYe+uSf1DT2Rq3iR9E694 03ABEf4W9jPwfrilvk8iH+XB29UQDMePciCQMT0TESCRAf1Pmru+lx5PdvqStYejScyu WhrUhivQurnRe97qL1vlN6REikaaVoxqIWlSjscvCIwc1s/D7ozArfCHc3YvJ+L1LRZg D+zxj7u1mHHNhQwgar1EPiiu16vePudiguVqlvxCyWP6Hc8Q3NT8sWCtm94n7w/R+tG9 Rbsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717739443; x=1718344243; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/bqzV5tdPmmU3mHMbEPSLVv1cy1wjxHPrAkA1dFhc+c=; b=Kr6SZ8tupj0RP/U4JI/kJvFIB2k2eA9tdy20IqCw71W4HCNyTNiB6lIx8pPAa/4JJx 9XzHYHOtr4U0hN3pO8XRzM8mCHY8hdlRGJeedqLN6eEQr8MWY44niOWhzEAPPNSH52uX XZgAc0ik48EVy6pLHrz6o0U+5n+IzeN3+I/R/FpqBFNkx6CVbK2AObjL/3vH57ZE3LFj Z7UL5zogZtcyqNFa8ZUBGEWwUPKCMoY7NueuqtJnpB+I1M6y/i1LQzo3Kh8saHh39g7S qDK42voy1g/9awLY9dbQ5/q43mKFX4mpnV4UEUMXHY72TQjxRHpWE1LRULLZMEDfhaYq 2ZjQ== X-Forwarded-Encrypted: i=1; AJvYcCXQ9tXGmqThnAsiSKtVX6Wg5Mo8xCp/4ozNnRR0m6OckFynqYJQ3qngNfcDiiXZ77BDZnpK9avS5AgWDmPO1BH3MFLi1UaqkZGOCTE0 X-Gm-Message-State: AOJu0YzGm+zy6ZNxqHCTXYHMT8TlVt0yIVmTElMrJOhP1ZH2zGeMog9G 6Prc70cOHmHN0pEuAM+Fqar5iwM0/kmsY21iZaAQkchHC7+awh3L0Xw2+2ghBNA= X-Received: by 2002:ac2:5297:0:b0:51b:6296:8d1a with SMTP id 2adb3069b0e04-52bb9f8e1e3mr800372e87.29.1717739443383; Thu, 06 Jun 2024 22:50:43 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52bb423d993sm412332e87.217.2024.06.06.22.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 22:50:42 -0700 (PDT) Date: Fri, 7 Jun 2024 08:50:40 +0300 From: Dmitry Baryshkov To: Neil Armstrong Cc: Heikki Krogerus , Greg Kroah-Hartman , Bjorn Andersson , Luca Weiss , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/4] usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove Message-ID: References: <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-0-c6f6eae479c3@linaro.org> <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-2-c6f6eae479c3@linaro.org> 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: <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-2-c6f6eae479c3@linaro.org> On Thu, Jun 06, 2024 at 03:11:14PM +0200, Neil Armstrong wrote: > Add the missing call to typec_switch_put() when probe fails and > the nb7vpq904m_remove() call is called. > > Fixes: 348359e7c232 ("usb: typec: nb7vpq904m: Add an error handling path in nb7vpq904m_probe()") > Signed-off-by: Neil Armstrong > --- > drivers/usb/typec/mux/nb7vpq904m.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) I'd say: Fixes: 88d8f3ac9c67 ("usb: typec: add support for the nb7vpq904m Type-C Linear Redriver") Nevertheless: Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry