Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp528164pxb; Fri, 28 Jan 2022 04:40:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6jpn/7+zI/6qIW0WnERrf4NniR2fX/cBfSWKyA+/BkfaRXWAyUsWFwLtluH7+L//dJT6r X-Received: by 2002:a63:5242:: with SMTP id s2mr6347285pgl.435.1643373606767; Fri, 28 Jan 2022 04:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643373606; cv=none; d=google.com; s=arc-20160816; b=k04Of+gFJ2wRQkyeo5SroWwpSQaotJtyP+6iiu5+AYO4RPfWs/YrbpoNMBuvgi7lFM OccPKxWe8xkgw97+UsmPlqCXBZbmQ0g5jGs7fXFsxs3l9f4+5QdCVemN5qKH2xS9unm/ 0wIDIM7dXLoOM+UMZkIaXlFVXQ8JTn5GzfqYDdLcMbRprxCisFEd3H0+3u9AycHHlIUD Mo7kTQbblq6I1Q6KISSNCL0dakQxJm4tH3ckVekzlJa90HDjMHlSlnEhj0k1p6nAHQha b9Xhrf4ZbqEVcRMHaqVseIq4oNFSbAS/Hw+J9D9ZaKOSOnQBiITkWx3N9Mk9SnnGuXLs NdAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=laYFRcQ6Vet2MN5kc/u+o9hxoOpEdPIalVN/8MOBW7s=; b=aTSsT1NZggPDz4K3EywLIRdMS/4IKSNjfj+5dyrTbypA1gPEiT0XDUKpvwSd6PeK+8 ZA1rxiYB7ju1AOIKUiJ61A2ZRk+fyxaA3l2cDymMOUakpG7tDwzASDulqW2y3++YQ+Sv sjBnEIuHnIRmtKol+FqQ9oD3VqjV+PbTT3qTSeCOJz5yTd3CpwZVeUxJKMdwPUw3qpXq G85cAVu6xhH4ozfTG2nrsoqH0RQVPuT77fGAmql6BQk+5SjTO6TiXevXG53qslstjaPj 0bvRBempIzN+PUVDKnZ7hP2XWxbYXJb73Av5pdkcpdgWRSQ3SgZmGLcQbgD4+X42C0/e s1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qIgueeT1; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si5113690pgs.46.2022.01.28.04.39.55; Fri, 28 Jan 2022 04:40:06 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=qIgueeT1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240417AbiA0RyF (ORCPT + 99 others); Thu, 27 Jan 2022 12:54:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236845AbiA0RyD (ORCPT ); Thu, 27 Jan 2022 12:54:03 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A1AC06173B; Thu, 27 Jan 2022 09:54:02 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id u18so4699008edt.6; Thu, 27 Jan 2022 09:54:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=laYFRcQ6Vet2MN5kc/u+o9hxoOpEdPIalVN/8MOBW7s=; b=qIgueeT1i5FOB7ZsdaOualU8UcSQH8s3re2rxJNy4vVKtwBUhVZJb7anExsnJBsmq9 75Mv3Cb79xnRdC9djgzw7yNxwxjAJt7ETJaYMF0GyR1l3W/0nHbkwEAbNOOUE+GlBndi rdt/5wvr27Q6UVdvT5XJ+ipgCq4949+IT6q5J54q5MF6dmLb1umLcb9SDjl31wNeTEOp 8Hn4wfpBBdnBIirN1+K6MbVNlKyoNc/WHI6Oo3PKW3KhkG8LpZcHTOopBVfqHt/k9uWa 2pf4MqN1Pg3et2SpnTpSX3yMZcAQx/XI2Df9qou4oZEOaqi3VMm3LEaRHP3fkjv1QB/l F4FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=laYFRcQ6Vet2MN5kc/u+o9hxoOpEdPIalVN/8MOBW7s=; b=IG48D/5X3pA457c0hMHrxMF5lY38kokBIwNHKXQE+EYsRNC9oDNSi1lJJ3uP8602Mq bt5M0gyOtE4MLMVhWd1EWqE4iFGIGPtr6g6X/oXKNMrSArJsci4T0pNa8YwvEGwhka41 xR69hUWFbrAOo+fDJWNDHOOHAmKNPdQ6cJUWXR5Jm36P0T7D3pGvcnOkNrbpwrBluBLY Lz0juYS/lEFAMdaDCXsUbC6wrrTSxMInSwMn5QEWHmmA+Gx0sc2jdtwPOXH5CN1mO4aG +FZ/yRUfb5G6Oi1KRJTpCZIrEOaiplE9OsojDg0jxtt5djQ22EwCl+yVNpNTZSdVbKA7 xinQ== X-Gm-Message-State: AOAM530qkoDYvolr6ZusrMgvy6tmH9Y/iGBWNFYioJdaL7d9i9Po2k7v o6ULoMOkcKrbaPcxtIxu+O8= X-Received: by 2002:aa7:cb17:: with SMTP id s23mr4622696edt.282.1643306041409; Thu, 27 Jan 2022 09:54:01 -0800 (PST) Received: from tom-desktop (net-188-217-49-141.cust.vodafonedsl.it. [188.217.49.141]) by smtp.gmail.com with ESMTPSA id d17sm11817230ede.88.2022.01.27.09.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 09:54:00 -0800 (PST) Date: Thu, 27 Jan 2022 18:53:58 +0100 From: Tommaso Merciai To: Richard Leitner Cc: Richard Leitner - SKIDATA , "linuxfancy@googlegroups.com" , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] usb: usb251xb: add boost-up property support Message-ID: <20220127175358.GA3171@tom-desktop> References: <20220121232612.7283-1-tomm.merciai@gmail.com> <20220125214245.GA4196@tom-ThinkPad-T470p> 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-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 08:08:48AM +0100, Richard Leitner wrote: > On Tue, Jan 25, 2022 at 10:42:45PM +0100, Tommaso Merciai wrote: > > On Mon, Jan 24, 2022 at 07:03:57AM +0000, Richard Leitner - SKIDATA wrote: > > > On Sat, Jan 22, 2022 at 12:26:12AM +0100, Tommaso Merciai wrote: > > > > > > > > + if (!of_property_read_u8(np, "boost-up", &property_u8)){ > > > > + hub->boost_up = property_u8; > > > > > > IMHO we don't need the property_u8 var here as you could pass > > > &hub->boost_up directly to of_property_read_u8() ? > > > > Hi Richard, > > Thanks for your reply. You mean like: > > > > if (!of_property_read_u8(np, "boost-up", &hub->boost_up)) > > exactly. Thanks Richard, I'll send v2. Thanks, Tommaso > > > > > Let me know. I'll fix that in v2. > > > > great! > > thanks & regards;rl