Message ID | 1529681621-9682-10-git-send-email-todor.tomov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1022930lji; Fri, 22 Jun 2018 08:40:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJMulQxpG18jD76PFWK3pdoeQ2w/Bc+N4zcjA3g6mf2TcX9LrIUMjQO0NBvb/+B1Cd+FCpb X-Received: by 2002:a65:654d:: with SMTP id a13-v6mr1922184pgw.132.1529682048930; Fri, 22 Jun 2018 08:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529682048; cv=none; d=google.com; s=arc-20160816; b=SSJ1ljBJuHmr4r8/ZMNeVeNezyXiEFe6GW2gLcx4I3qT8R6MGvp3klTOtOHIT8cyvp lXJ1N1tweRvhSfTfyRHz5gnMrwDlVx1U+2u+3yE+PtskDf6+uk5pjWDCxR2i7EL3srfj VBFCpotY2u/Hq2nvZUI3wx4EFOxAp1BH6McUVP5y0TaWI5sRerd9SWSVTNUeIDGeio3I NSyX2vpSzasHApKgrspvgMelMYnkXnPa3h3fEu0ao1RhrnWiDMexfhpEAZ8tfMGf1uWL 1Z5Xu/iSTQ7/+xbNvFPZxr+JJ4D5MogiJlStakBU7YfRpZF7JK7oBJWa29Zv9RL9iL4N cDDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=2pwH/Jt/Jb11goDRf5tzEyVxFgtt1SoNGp5h1jpcgVE=; b=lpQnreCZefCAWiZrlB6aAeHLwUe3w6doQeqBDu2fHLai58ycwDjd7mesxjXFKfKqUf dxXYnDsoWnDeqg7i9o8kHdn/rLLPo4CLLxckr6D3OpVBIbQehqnOAJjHdjmXdOq+o8tu 84zMdaIN23TsWjRKJ7HdYC+GjFRpM2mfLieLQ2ZTxVxpIynZMx6LOsbpPGCDDRnVCZD8 gsLhmuErD/iLFKz9FdFeYBKYSbPYr+HrSEg6mHixaIJzD8/gkN7qtCD3MYdzS3kagf46 Qz0q281ca4auqff9+Lr2cXlxzOjYQM3M5dPe3asjz4t7I5wPPeD2lkJvrfaR/byU3c9W Ks6w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2-v6si6577016pgo.289.2018.06.22.08.40.48; Fri, 22 Jun 2018 08:40:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934332AbeFVPjq (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Fri, 22 Jun 2018 11:39:46 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:46424 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933957AbeFVPeD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 22 Jun 2018 11:34:03 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 41CD04F885; Fri, 22 Jun 2018 18:33:59 +0300 (EEST) From: Todor Tomov <todor.tomov@linaro.org> To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, laurent.pinchart+renesas@ideasonboard.com, linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Todor Tomov <todor.tomov@linaro.org> Subject: [PATCH 09/32] media: camss: csiphy: Update settle count calculation Date: Fri, 22 Jun 2018 18:33:18 +0300 Message-Id: <1529681621-9682-10-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529681621-9682-1-git-send-email-todor.tomov@linaro.org> References: <1529681621-9682-1-git-send-email-todor.tomov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Qualcomm Camera Subsystem driver - 8x96 support
|
expand
|
diff --git a/drivers/media/platform/qcom/camss/camss-csiphy.c b/drivers/media/platform/qcom/camss/camss-csiphy.c index 2a9adcd..6158ffd 100644 --- a/drivers/media/platform/qcom/camss/camss-csiphy.c +++ b/drivers/media/platform/qcom/camss/camss-csiphy.c @@ -329,7 +329,7 @@ static u8 csiphy_settle_cnt_calc(struct csiphy_device *csiphy) t_hs_settle = (t_hs_prepare_max + t_hs_prepare_zero_min) / 2; timer_period = div_u64(1000000000000LL, csiphy->timer_clk_rate); - settle_cnt = t_hs_settle / timer_period; + settle_cnt = t_hs_settle / timer_period - 1; return settle_cnt; }
Update settle count calculation as per specification. Signed-off-by: Todor Tomov <todor.tomov@linaro.org> --- drivers/media/platform/qcom/camss/camss-csiphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4