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 0B3E1C61DA4 for ; Thu, 23 Feb 2023 08:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233482AbjBWIT5 (ORCPT ); Thu, 23 Feb 2023 03:19:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233487AbjBWITu (ORCPT ); Thu, 23 Feb 2023 03:19:50 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F3E82332E; Thu, 23 Feb 2023 00:19:49 -0800 (PST) Received: from [192.168.1.15] (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 700BE4DE; Thu, 23 Feb 2023 09:19:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1677140387; bh=5EOibZQ0HJbQ6x9yMUFp5YDt5+g4o8fKiW3Z+uQtCuU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=GQuSYsy0zR5uyNYtB1IbKCcE9We8ROM9oesyGuEA2ogLVQ+9Cn5jZqsgXWUjo2vsO KtT0EskdmSzw6/N5956nT1omZnnAA0+YAv61+yE9TJBNYatcUIxHetllKMAh7fWOEz Pe8abxdHxgnThV5kw5jl2cvSJNaCQ0vpRalMzglU= Message-ID: Date: Thu, 23 Feb 2023 10:19:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v10 0/8] i2c-atr and FPDLink Content-Language: en-US To: Andy Shevchenko Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Wolfram Sang , Luca Ceresoli , Matti Vaittinen , Laurent Pinchart , Mauro Carvalho Chehab , Peter Rosin , Liam Girdwood , Mark Brown , Sakari Ailus , Michael Tretter , Hans Verkuil , Mike Pagano , =?UTF-8?Q?Krzysztof_Ha=c5=82asa?= , Marek Vasut , Satish Nagireddy References: <20230222132907.594690-1-tomi.valkeinen@ideasonboard.com> From: Tomi Valkeinen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/02/2023 16:17, Andy Shevchenko wrote: > On Wed, Feb 22, 2023 at 04:15:50PM +0200, Andy Shevchenko wrote: >> On Wed, Feb 22, 2023 at 03:28:59PM +0200, Tomi Valkeinen wrote: >>> Hi, >>> >>> You can find v9 from: >>> >>> https://lore.kernel.org/all/20230216140747.445477-1-tomi.valkeinen@ideasonboard.com/ >>> >>> Diff to v9 included below. >>> >>> Main changes in v10: >>> - Switch pre-increments to post-increments >>> - Add macros for FPD3_RX_ID lengths >>> - Use regmap_bulk_read in 16 bit reg accessors >> >> Thanks! >> I have no more remarks, nice job! >> >> One thing below to just look at and if you want / have time / chance update. > > ... > >>> + ret = regmap_bulk_read(priv->regmap, reg, &__v, 2); >> >> sizeof() >> >> ... >> >>> + ret = regmap_bulk_read(priv->regmap, reg, &__v, 2); >> >> Ditto. > > Here is a formal tag for patches 1, 2, 6, 7, and 8 > Reviewed-by: Andy Shevchenko Thanks for the thorough reviews! I'll do the changes above. I also got kernel test bot mails about the "ID '%.*s'\n" printks (have to typecast the sizeof to int), which I also need to fix. Tomi