Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp672223lqh; Fri, 31 May 2024 12:42:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWA19sLCb7h+wsf8S+O1S39VONn22JuVExYQQVWlLuAvrHIBEVVqCEXTSQZKTrslyb0zrNmTPlUEhnMx+WVxZG0b9O5+942EYUk6e1nlA== X-Google-Smtp-Source: AGHT+IF/PJMubwKf7NHxAPq0sxA6O8Qp5PoPUQONF4d+2R6iEhcbuiABlKZdDYVAGBFnyAG1QDPU X-Received: by 2002:a17:906:7c8d:b0:a62:4b4d:5447 with SMTP id a640c23a62f3a-a6821b76639mr235517166b.62.1717184532173; Fri, 31 May 2024 12:42:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717184532; cv=pass; d=google.com; s=arc-20160816; b=YlfIccp2YbaPHZl6kXV++OE7LigqS624hu4c1I9ukw+Fxy50To1iTGIsVSse5DKi6G UepX54XHdPDl1y1HNpTSixCpn5jxQCSXWs5DqSBtKGeChKNCAYJDPcYPuBt2bqhT1D4U 1sX39waSFuWH4lyHQ4GeJCsa8zzFLSlNcYrPFBsy57kjtWm65QIiKlgzzzEmxIvkI0YK en3kzR+WhSWygMVREWXSBBiWoozHml/qP8oqhjeWm9gqT6oNoAz0JfXaLw4dtf9X2m7Q SQJtJc1JOhhIX24pAhFGvMV6E7uvYbQWgC/yiWvyqHI5Aj50I+b0Zy1OIcuPm+x7IwRU 5oVQ== 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=VZ0301p+dghmUaCnTpXNdQ1J5YZlPh76f8+4DGjY0+Q=; fh=HgLcdu1GCtoFVf5QEp7dcC2wPgQ0QmsQidTj2HHHko0=; b=Yji71FUVExom8cHFj2Z77NDxsLNhrV4a3pvmeHrgBip1mtvgX7JIWycSyGzF1j/oYR mDUrsN2rEpkx/DXQeSuCLpe+ixTUCkcfifMh/lNgV54nORk6/Cm3/W928ancN3uzHIX2 p0PWmFUC5PJcDX1i+MD/g4WvoJApfk4i/Cd0FjXMsvkd4PJqO9gW436Y+RTmVPKeHGEp 2W10wzNS0aSP4mNpWNpLFYSr55giNrUiM/3t9xedRuXKaGQdvKYWxV79m6udpc/RoKgF 6njIF3rrEZjJKdHyi9ez5+C8wBCVltbawh+zktbziKRjt7qjBlFRAFVhn0SoUbAbRbM0 RWVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aEjD+wln; 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-197386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a67e6f029a0si120638866b.55.2024.05.31.12.42.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aEjD+wln; 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-197386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197386-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DE51E1F28815 for ; Fri, 31 May 2024 19:42:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BA6F17D343; Fri, 31 May 2024 19:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aEjD+wln" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 9F4BD20DCB for ; Fri, 31 May 2024 19:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184523; cv=none; b=JCpF6WpktRORE0n/Fq0hflW7ZvYYlBL4wna9sG9QjMQXa9p0Ag6Af2sHd8AF8dU6ShTqcQUADn/D/SyERM/RIQxtG2P0MJwsFd6dARXYREjKbhcGxLCdK+b8NwFgKfOJu8TVnqMZQqbEJj6LG6s0WafqQDT2Tgx/sE1nE5RiQeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184523; c=relaxed/simple; bh=tNZXFB+HzysXCL3SMJvzwkWGT1EYNKCv4E1TAW2tYXs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TpOvRbZtk1Yn9fhEORGrwMK4PmqNhI8aBE7V7Jg0qZzuFtFoLoZ4936MjSzd9oZ98B3pM1x3uzl7GvIeMktw15k16o9gVtJxzU5QMalV4pntb20KkXl0MXJYkTJE2fQl6b66jQzru12UYj7kmdJLK+VCScO9tczfgd2MM81ISjw= 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=aEjD+wln; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2e95a1f9c53so30873451fa.0 for ; Fri, 31 May 2024 12:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717184520; x=1717789320; 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=VZ0301p+dghmUaCnTpXNdQ1J5YZlPh76f8+4DGjY0+Q=; b=aEjD+wlnaursSteHIgesXjt1SzJamqzKfdVbd6BuKqrSbbNdsmfNCadRNLD5NEMIGx Ksj7/ucilsv3OgTfjGIKN4NBORy71U0knIxzEmSb+xldoX5vk7EiGyCpu8ohCdpQEuLq 5lVbNL6DgKIR2fooEWhLMZUPNNw3opzQ9cKzGNocQumfo3gm1Z578xlSR6Po3jFN0mgS vIjVeYkhEBMErdhuOdld4eSUEL3gHDKVG5iS5edHMu2JHh//mImDS8WD7c4K4Q7Kz5S5 uoD+ZEvqZ1iM9C1eUnHrl93OpuSV+DvImYMjY2ajszGLhJPUtOKdNTV00dMMVf04rxDx 3cWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717184520; x=1717789320; 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=VZ0301p+dghmUaCnTpXNdQ1J5YZlPh76f8+4DGjY0+Q=; b=QVSABxOba/SPNwI4FbGoOZSEB/sOnscFPi0XQ+NLO824j6Ae1g89DNc4KXMwOzFMat KOTSbYq5JFpnT5vsCVk5Lspj4wq2TDU+p8NCct1Ti9NOKHznSyV+3ZZ9jhEgzosu0fwA 2CK2NxWa+jVUEOtYVW+JNWeXCawzxC9aveKeLH9k0uUX2f6h68LWuo0KCg01SNBRyEFy TR8JCK1UV7Kw9pmYzXTCq8ioxXHwCTJWskYb7AHlExCV8APrn/eXHdGlpViMW9dR2jpU HtTsqht9K8hqYOhX9CSGsZJg14prbWaqIKLdGzgNo7n2YA2OP4i4SD5mlrzVc1YbvLBx A/TQ== X-Forwarded-Encrypted: i=1; AJvYcCX4k+UoKZz25MrHecKKl+YEiGPyGVDUx/9XNkCb5DHnePIOkYWKrgoaScksP4N1/48p7+rBw0dx3Y0fHKTiLCWv7VDz41PKWpMpjuba X-Gm-Message-State: AOJu0Yxx+yRWRHuRAN3AUJcZyL9oAbQou75JFxNvDbC2+5Sh/zAacf4R vH3PinAORBhqEuSYhJfhWCkIAUMZO3+XMWgieuP7NcxuPZlPSskg2cIfGsHKJS8= X-Received: by 2002:a2e:8756:0:b0:2e1:ba1c:efea with SMTP id 38308e7fff4ca-2ea950f8729mr20314681fa.19.1717184519743; Fri, 31 May 2024 12:41:59 -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 38308e7fff4ca-2ea91b9d999sm3753471fa.16.2024.05.31.12.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:41:58 -0700 (PDT) Date: Fri, 31 May 2024 22:41:56 +0300 From: Dmitry Baryshkov To: Jameson Thies Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, pmalani@chromium.org, bleung@google.com, abhishekpandit@chromium.org, andersson@kernel.org, fabrice.gasnier@foss.st.com, gregkh@linuxfoundation.org, hdegoede@redhat.com, neil.armstrong@linaro.org, rajaram.regupathy@intel.com, saranya.gopal@intel.com, linux-kernel@vger.kernel.org, Benson Leung Subject: Re: [PATCH v5 2/4] usb: typec: Update sysfs when setting ops Message-ID: References: <20240510201244.2968152-1-jthies@google.com> <20240510201244.2968152-3-jthies@google.com> 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: <20240510201244.2968152-3-jthies@google.com> On Fri, May 10, 2024 at 08:12:42PM +0000, Jameson Thies wrote: > From: Abhishek Pandit-Subedi > > When adding altmode ops, update the sysfs group so that visibility is > also recalculated. > > Reviewed-by: Heikki Krogerus > Reviewed-by: Benson Leung > Signed-off-by: Abhishek Pandit-Subedi > Signed-off-by: Jameson Thies Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry