Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1441560ybk; Thu, 21 May 2020 07:01:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo7wFZtwthC5u4ZxIg7mO4rNiNb6vY7yafuKtw/UMe47xFM+6IxWcYF16JbC0TW2WMhvLQ X-Received: by 2002:aa7:d612:: with SMTP id c18mr8208741edr.282.1590069703407; Thu, 21 May 2020 07:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590069703; cv=none; d=google.com; s=arc-20160816; b=N2mUwdwwNClRv7oIl/3rSWBZi2CWGIua4iGDA7Wqub40z+c4AuqlvRk5u97LPZ6am8 /mwgMGFDI1zvbJUnwf3FTNvhIGvRsj4QWXr17RpLBmky6A0C5XR7OxoXws/ieiAwHo9Q tusOF+7xl+qEMVVoeintPmif1zytmMBqNzcqodLf/aTejHwgK9jMFjeV34BUT9iO3gqy 92NE7BFhcDDaJJVta9cM68Y8p6My6kEk0LWMPfwQjxYIQcoBwhX5KMm+XEObifnxpDcr 5knH7jMbkcrATXe4mB7Bta82IHSvI+wD6KnlmelSPlXL1yNN0HWZP4AMBKzi0f0mrdrO Xluw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fd27zalAyz5wmnk1UFuL/3CVJVB2Mbru00pqm3YvwKU=; b=y843KsxJB8jad4pWBDPznyPDUrUpKXBcV9XSI3ShG5vsNdCeKlg7UXJi+qNB1WKNnb Tyb9l1j/I07LLSGPQdxkVzTFV6EF8o6yT8hlZI218qCLUogboj3Xx4lOUc+W/JJFTdYY EPYwGEzHy+wWusDIgl56s/GsoTPPeEQ6AnJPNblL92ldqR/h4ib874CJXSEd3kTnPCtm bt+rM00dfV7zrqE2sXaPpMds6SKoUao3ZgRHuJ6GD/2JdNJWvXIiINtVP8Mabccwf5ZC aoDdkh5wpQ7Tlk2Ox2770aAazsG7NTTyf3NnxYJg/NnzD+Flx9Cblr6knSTr20j7rz46 7M9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TZEsQQmR; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si3343499eja.536.2020.05.21.07.01.17; Thu, 21 May 2020 07:01:43 -0700 (PDT) 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=@chromium.org header.s=google header.b=TZEsQQmR; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729657AbgEUN7n (ORCPT + 99 others); Thu, 21 May 2020 09:59:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729598AbgEUN7n (ORCPT ); Thu, 21 May 2020 09:59:43 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3C7CC05BD43 for ; Thu, 21 May 2020 06:59:41 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r3so4854949wrn.11 for ; Thu, 21 May 2020 06:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=fd27zalAyz5wmnk1UFuL/3CVJVB2Mbru00pqm3YvwKU=; b=TZEsQQmRmAtlsPZ6hEPx1lfN+WVfX9faQiHdd1FC5rdGKNoEokI5y6RqM2R5AunejI u538EoIRYq37DBlxBdB5BCNFnYNB9Adj3e0xFr5JZI02zmw4mzuluXYm9cnjbvpKyKgs AgA/U/12lSi6ar8khG8bQKCe9ydhwDp5gYliM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fd27zalAyz5wmnk1UFuL/3CVJVB2Mbru00pqm3YvwKU=; b=D1g8hJPiig0XA+KD32no2lQ6eQ/ZoYGL5yrX+IcG4nQzZzkEJUK3kLwcuDGD74M2MJ BpERnEnBUjqipCwU/SU6SrqPIIBw4MLSUaNGxZ+IuRT9TFtQE2tQFyhAq8JWQdJ2ttCZ 9Om/JLXJlpMz5dsAwLaU4kJK+DKBS9KAZvn4DOZzOudoqBmW41AM3+a97KRSBznXewLI 0KIrKErAwgDFPrl9G9HPW+ZguijekhY3jbjnlKhrqD5ZEBm0k0y5qPA7vgs8HWxg0afK EUOZSajTROVOCfGUFGGpNi4d6CSiV+haodVIIGUVUFMNi8UGd/zYNhMPrb3qEI16n0BO jNiw== X-Gm-Message-State: AOAM531VLBFfASYO4CtQdbCIyX82hPC1ZaOQ6pTRuPZ7mFV8CLmEbiJE qgssmL20CeeI3HRPeXnnZ0Jr2Q== X-Received: by 2002:a5d:68cb:: with SMTP id p11mr8426488wrw.349.1590069580276; Thu, 21 May 2020 06:59:40 -0700 (PDT) Received: from chromium.org (205.215.190.35.bc.googleusercontent.com. [35.190.215.205]) by smtp.gmail.com with ESMTPSA id c17sm6505348wrn.59.2020.05.21.06.59.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 06:59:39 -0700 (PDT) Date: Thu, 21 May 2020 13:59:37 +0000 From: Tomasz Figa To: Xia Jiang Cc: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Marek Szyprowski , srv_heupstream@mediatek.com, senozhatsky@chromium.org, mojahsu@chromium.org, drinkcat@chromium.org, maoguang.meng@mediatek.com, sj.huang@mediatek.com Subject: Re: [PATCH v8 04/14] media: platform: Change the fixed device node number to unfixed value Message-ID: <20200521135937.GD209565@chromium.org> References: <20200403094033.8288-1-xia.jiang@mediatek.com> <20200403094033.8288-5-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403094033.8288-5-xia.jiang@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xia, On Fri, Apr 03, 2020 at 05:40:23PM +0800, Xia Jiang wrote: > Change device node number from 3 to -1 because that the driver will > also support jpeg encoder. > Thanks for the patch. The change is correct, but I think the commit message doesn't really explain the real reason for it. Perhaps something like "The driver can be instantiated multiple times, e.g. for a decoder and an encoder. Moreover, other drivers could coexist on the same system. This makes the static video node number assignment pointless, so switch to automatic assignment instead." WDYT? Best regards, Tomasz