From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F14FC48BD6 for ; Thu, 27 Jun 2019 12:43:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BED120645 for ; Thu, 27 Jun 2019 12:43:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726540AbfF0MnD (ORCPT ); Thu, 27 Jun 2019 08:43:03 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45756 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbfF0MnD (ORCPT ); Thu, 27 Jun 2019 08:43:03 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id A4065289A33 Message-ID: Subject: Re: [PATCH] media: imx: mipi csi-2: Don't fail if initial state times-out From: Ezequiel Garcia To: Philipp Zabel , Steve Longerbeam , Fabio Estevam Cc: Laurent Pinchart , kernel@collabora.com, Shawn Guo , Sascha Hauer , linux-media , Hans Verkuil , Nicolas Dufresne Date: Thu, 27 Jun 2019 09:42:52 -0300 In-Reply-To: <1561624997.4216.11.camel@pengutronix.de> References: <20190625203945.28081-1-ezequiel@collabora.com> <1561535121.4870.1.camel@pengutronix.de> <3797cdd2-f6c8-f23d-788c-b8efc3e75b21@gmail.com> <1561624997.4216.11.camel@pengutronix.de> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Thu, 2019-06-27 at 10:43 +0200, Philipp Zabel wrote: > On Wed, 2019-06-26 at 16:29 -0700, Steve Longerbeam wrote: > > Hi Fabio, > > > > On 6/26/19 4:22 PM, Fabio Estevam wrote: > > > Hi Steve, > > > > > > On Wed, Jun 26, 2019 at 6:19 PM Steve Longerbeam wrote: > > > > > > > Did you only get the LP-11 timeout warning message with this patch on > > > > the OV5645, or both the LP-11 timeout and clock lane timeout warnings? > > > > > > With this patch applied I get only the LP-11 timeout warnings, not > > > clock lane timeouts. > > > > Ok thanks for the confirmation that the imx6 CSI-2 receiver is able to > > successfully move to stream on without seeing the LP-11 state in this > > case. > > Are there any visual artifacts in the first frame(s) in this case? > I'll check. > > So in my opinion the next version of this patch should make LP-11 > > timeout a warning only, but keep the error return on clock lane timeouts. > > I agree. > Right. I only saw the LP-11 timeout, and wasn't really sure about the clock lane timeout. I'll drop that, improve the warning message and submit a v2. Thanks, Ezequiel