Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E843C05027 for ; Tue, 14 Feb 2023 08:26:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231408AbjBNI0H (ORCPT ); Tue, 14 Feb 2023 03:26:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbjBNI0G (ORCPT ); Tue, 14 Feb 2023 03:26:06 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0104610F5 for ; Tue, 14 Feb 2023 00:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676363162; x=1707899162; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mqzAQAQhdEsZYj3siH7K9ISZPoFQ+cxYtI9Bqo/+uhU=; b=UmSOApyIG0onLfi0m4LEfXr00+hS+oGf3d+/pKk1w1S9YfFvx/FiZuzo 5upFpw6JKprr33tLcUslAxAhhEd2RxtjRCJ55u+AWHccVzRmaI/UICqqF qlQWidpvezKPqi4xqd3FlusEoOVQEGyxR0Al3N3QtAB/g2MzNtoWwQ/D0 Xawki8jrJeUHzOK964IHFDfZijys1TQGFbzM21Fcfymk72VQFNp5pvDVS ntdJheCE1koZZNYEoGcYG82i+zYoLs9VKnI6OwNL1wHld79CG5K0BjBHI eeVnUVdomkmavw/6F4VCqVHydAHHeZwsve9IwJxd0dEv00tHJoYzXjwVO w==; X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="328818626" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="328818626" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2023 00:26:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="811934957" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="811934957" Received: from kuha.fi.intel.com ([10.237.72.185]) by fmsmga001.fm.intel.com with SMTP; 14 Feb 2023 00:26:00 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 14 Feb 2023 10:25:59 +0200 Date: Tue, 14 Feb 2023 10:25:59 +0200 From: Heikki Krogerus To: "Gopal, Saranya" Cc: Greg KH , "linux-usb@vger.kernel.org" , "Regupathy, Rajaram" Subject: Re: [PATCH v2] usb: typec: pd: Add higher_capability sysfs for sink PDO Message-ID: References: <20230213140522.171578-1-saranya.gopal@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Mon, Feb 13, 2023 at 06:00:30PM +0000, Gopal, Saranya wrote: > > So you deleted an attribute from this device, ok, but again, I don't > > understand how this is considered a "fix" other than perhaps the old > > attribute does not relate to this device? > As per USB PD specification: > 28th bit of the fixed supply "sink" PDO represents higher capability (whether sink device needs > more than vSafe5V (eg:12 V) for full functionality). > 28th bit of the fixed supply "source" PDO represents usb_suspend_supported attribute. > Before this patch, 28th bit of sink PDO was wrongly representing usb_suspend_supported > attribute. We had to add the new attribute to correctly represent the 28th bit of sink PDO. > Does it make sense to add fixes tag now if I add these additional details in commit message? > Or do you still prefer not to add fixes tag for this patch? > > Thanks, > Saranya > > > > > And if so, then make that a single patch, with a Fixes: tag, and we > > can > > properly backport that one, and then have a second patch that adds > > the > > new attribute. > > > > Again, adding a new attribute is a "new feature" not a fix, right? This is true. Saranya, please split the patch in two like Greg pointed out. thanks, -- heikki