Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp975523ybn; Wed, 2 Oct 2019 09:01:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfh0QcYjWRo73exJqPv88baAzGtJVC6dxeyEFgnjnmcCuXiJSawtmQNXtOe4Rp8kPzA6s1 X-Received: by 2002:a50:aa86:: with SMTP id q6mr4736056edc.288.1570032068877; Wed, 02 Oct 2019 09:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570032068; cv=none; d=google.com; s=arc-20160816; b=ahtvrTakrIUtpdioEbnWFOSJGvRxnI4hXcGYQqNRUNVg5KpE4NeuicL24NdgQal8PO qSUgtBrqslJPC1G7wkBMlee+Cv89uit044ckGZpVt3iWLxCEUbtqn/d77/gE5Z1gkKU4 ErlMSPkB4W1yCdRWddmeJPalx4/OUgqrXmRtY9ULsDIhIsbJfb5x0OF2exLdOKoRZfZi GcraFbVecTYuL1Tqm438ZeE6N3QnTCJ0pjUpS76FRxzBi9zVs2Q1I0qW5fsVRyHfMiNk LLnN8ls0be24TMXd5MPRClYlIWVaAm76yvfcedoacur6foEMF+HFeeTqq0aXz4tu2sdT jcaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1OKjfFE5Rip8OSxQq2h7J6LtO6w87zoTvJGzqFe6Bhg=; b=mbeREKu3KIvV2wWYAm+kvZ0bgLpMOZC9A5HusgwSrPF3QhSw5PIfjk6JwNuQYm3W5E +z5WmjzpKIvfL/ZkiOw9YneRuN5+vHFdZiaU5IlAuOCLzpJjhMwb0gLE2sBkUIgt+dWc ZANoQwUCdtTrxyGeLxlrcohe7JxE4BSVfiYyy/L1GJ+h4NptOgg6EsmRQuBdjCjjqtTP YWNgs2K7hsSFFFQhXW9AXyNSg8l5L3OBObju1wAY91jUwY5ctH0+OFraUhuwGHO1nPsi dnJOOGQe0IjYi82ee8y8pZYa/PSH90hxF/PFlGmLcn2vF9uDBXKi8nH6u2QDXeZrA8Gc CC2g== 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 d9si11662857edb.371.2019.10.02.09.00.43; Wed, 02 Oct 2019 09:01:08 -0700 (PDT) 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 S1727483AbfJBPGw (ORCPT + 99 others); Wed, 2 Oct 2019 11:06:52 -0400 Received: from gofer.mess.org ([88.97.38.141]:47667 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726763AbfJBPGw (ORCPT ); Wed, 2 Oct 2019 11:06:52 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id 01118C63B4; Wed, 2 Oct 2019 16:06:50 +0100 (BST) Date: Wed, 2 Oct 2019 16:06:50 +0100 From: Sean Young To: Gonsolo Cc: mchehab+samsung@kernel.org, crope@iki.fi, linux-media@vger.kernel.org, Linux Kernel Subject: Re: [PATCH] si2157: Add support for Logilink VG0022A. Message-ID: <20191002150650.GA4227@gofer.mess.org> References: <20191001205203.4b1a5fb6@coco.lan> <20191002141359.30166-1-gonsolo@gmail.com> <20191002141359.30166-2-gonsolo@gmail.com> <20191002142744.GA3475@gofer.mess.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2019 at 04:44:24PM +0200, Gonsolo wrote: > Hi! > > > You need a message and a Signed-off-by: here. > > Ok, I'll try to get that right the next time. > > > > + ret = si2157_power_up(dev, client); > > > + if (ret) > > > + goto err; > > > + /* query chip revision */ > > > + /* hack: do it here because after the si2168 gets 0101, commands will > > > + * still be executed here but no result > > > > I don't understand. What problem are you seeing here? Why can't you do a > > query chip revision first? > > This was explained here: https://lkml.org/lkml/2017/3/15/778. To quote: Antti has some great suggestions in that thread: https://lkml.org/lkml/2017/5/24/245 Also note https://lkml.org/lkml/2017/5/26/357 if you have access to a logic analyser. Sean