Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp868883imu; Tue, 11 Dec 2018 08:48:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/U9vCOUCl1kbEK8HhTgpC0APZ13VJ7B/vrTLtMjzjCVocZpPmbDT+Qc47/ZtycyAFK5dbd+ X-Received: by 2002:a62:5884:: with SMTP id m126mr16928373pfb.177.1544546893438; Tue, 11 Dec 2018 08:48:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544546893; cv=none; d=google.com; s=arc-20160816; b=b4Mjl92GZWqMfutiREh9I/crNw8ho5PajyyE1fLmn/sokPZP+PPGfRDyOgjNqH7MPP 3p9va0TJoUI5Vwb1PJTYiMfn2k17msnEwlhE33fnzm4WkEoU28SogGE44BVELtZkN+g8 tJ1WxyErAvZV/Qy1G1sWuByet1QJAj0x/993B8UO7b5Rs6tjR8fZ3kF2Hsb6ljDqMAOR aPuH2S0nRJzrH6imHJ6eyu2mpv7+T9MDuYhkFW1hMXLbcejAHXC6q2uXMPgrNy5Tw9Vs 9XpqwZcsWTjwdgKfrL48uttCG0tu7x8UA8Y1XF7unMfpfTbJpQOGYv7NA1bt1fTGt4T4 NdZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1ImD3U024KDkKZHl6VDVLCUJtzz06GeRd/2o0uGm0cA=; b=GJJ023KxgKi1cF2DMP2NcVlgR13YzVngrpcor/uLl8/R4G4EWd59SOAxteEL4kBNbu fm05G4HZ3e2+qsrKPUqYRWSRtZxirW0y0WRC55Ft5Hd3gKoqpqpBNHPaWO0SnLlpvgjs cr0DGMR3msmCqUJdVxANSSwqzmViiK/VLQ9wrtZbmVdaj/eJXXNpcR5SrEHcMhHFG+3F Mqcm/SWbbLm39zafdKYNCNPBlGrGQpqDlfrW85S6POGb/35I3DCX0KhF2h4+VLfIR/Tz NaJzSnH0WM2kYhCPw4Rziy8ezYDBO95Y0o25K//HftF3BM83RqlbNXbkyGgPgnaovls/ EwQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si13693100pld.249.2018.12.11.08.47.57; Tue, 11 Dec 2018 08:48:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728017AbeLKQpH (ORCPT + 99 others); Tue, 11 Dec 2018 11:45:07 -0500 Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]:51253 "EHLO lb1-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727280AbeLKQpG (ORCPT ); Tue, 11 Dec 2018 11:45:06 -0500 Received: from [IPv6:2001:983:e9a7:1:5434:d88b:a352:4c5a] ([IPv6:2001:983:e9a7:1:5434:d88b:a352:4c5a]) by smtp-cloud9.xs4all.net with ESMTPA id Wl9agLc3sMlDTWl9bgEHms; Tue, 11 Dec 2018 17:45:04 +0100 Subject: Re: [PATCH v7 2/2] media: platform: Add Aspeed Video Engine driver To: Eddie James , Eddie James , linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, robh+dt@kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org References: <1544480791-92746-1-git-send-email-eajames@linux.ibm.com> <1544480791-92746-3-git-send-email-eajames@linux.ibm.com> <6567e0a4-ad58-1340-199e-e5d5b267f3ac@xs4all.nl> <08ffe734-7c08-370e-0a10-09f3924f24c0@linux.vnet.ibm.com> From: Hans Verkuil Message-ID: <828d274c-8a0f-d90f-d383-178360f9ac30@xs4all.nl> Date: Tue, 11 Dec 2018 17:45:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <08ffe734-7c08-370e-0a10-09f3924f24c0@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfBGaCf4NQ2lridnU07Ka37g2f+fF0vusnVsy1kOjzdf8LBMgFMuEcpQzFFZavSwg9juuIBk1a4BxmJPwiufS1WjQ2A1wLMfTRfuFFJhPzhN94uiHNWFN tBIel5LYnrlunqfbHusC8QQnRTkSNSZAvADMayO+uxojs/C+sUN7bfwMWpY4s6+kqFleRs0jp2Xk0cArKhuqctNMOWTH5WqiYYfgYXlsp008tKjY5VAtttkO LStrCqepMRZ0+70MqFfKXIy2ds+VPjvvKgWJkIcxNZ78YhJrHZGXpNIGP3nyK8yq/NGnBFbU3+heAb+oYMi9d9tKC9sttuEpXhir5b2CUZ1Ah1I3PRWcZBK8 1/GOPOJdTwjazLAllnVb5a9trVDHL0AP360NVEcI6uVbG+clmEv/+DiOBVdty56LYsk2Bzeglo12VJwpFqubfXn4K/CbASZMXO72+PcjPalSLYeLEGmyw/oa 3FblK9Vzt//3XgSrjtgr2N0AOD0f/yWD7Mv9N5BDYmBza4eXocjKCxgrwxo6Mm4VB06Jk/ZZz6kv8OPZAqUu4ht4MI/t+mGUw8xtfg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/11/18 5:41 PM, Eddie James wrote: >> Running checkpatch.pl --strict over the patch gives me three 'CHECK' items >> they you should also address: >> >> CHECK: struct mutex definition without comment >> #312: FILE: drivers/media/platform/aspeed-video.c:222: >> +       struct mutex video_lock; >> >> CHECK: spinlock_t definition without comment >> #315: FILE: drivers/media/platform/aspeed-video.c:225: >> +       spinlock_t lock; >> >> CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt >> #580: FILE: drivers/media/platform/aspeed-video.c:490: >> +       udelay(100); > > This one has to be udelay due to possibly being called in the interrupt handler... Please add a comment for that. > >> >> I think v8 can be the final version. It probably won't make 4.21, though. >> If I'll get a v8 today, then there is a small chance it might still make it. >> If not, then it'll be merged early in the 4.22 cycle. > > OK, no worries either way. Will send v8 in a few. Looking forward to that. Regards, Hans > > Thanks for all the review! > Eddie > >> >> Regards, >> >>     Hans >> >