Message ID | 1530797585-8555-10-git-send-email-todor.tomov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1955387ljj; Thu, 5 Jul 2018 06:40:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdcqdkLwyM/xTLaNCHv2XhZA8HFs2EdRJuYLflprCl04zOcWKbdtrk3Oz2gZ6E0CuAcBysL X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr6196090pla.325.1530798035252; Thu, 05 Jul 2018 06:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530798035; cv=none; d=google.com; s=arc-20160816; b=Dnla3Da19wyrBH8Cws/9LTKgKIR2H7gynqvRb54gDSPRawZ9fIIuSoN6m2ZR/Iv6W+ qSkLkjdn2n8NfhXD0z+4dFKlKj287d6fhyi9pDck55lUy2uy5SKLgtfREZxSSjvhswCb ThflZFPV32qx+G4f/9Yg4Pq4mL56QBQIxZVFlIfYTcqK4vsou1TNoWqt9Rm0vGW08FgG XvzFwW4bMkY4XQ/i1AgcwpePyo4gm4uaWqXcdd12xMuWr9Hj9n/6zCHdFA0WOuP3mazC 1KwHMIBy0dNFIU0qdOgV/+gFNkL9qgx4qBEXk7hulXi+CJ0oloVWhM3ZEvcKZ50vRJDo XKAg== 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=k50qHuYt8VNH10rJShBwb18XYhPPMNPFqaJjddwDq0u8bRzzMxaFJC60icJaXXZU+c TDh/egweBYU8FKUSS/WzwH0ASMR2ZwgWl1n+8hUgYs3D2h5Hkiqad8Avat61tqfgElRv p/s5WVAQghnGzqc/PoRNkCuz4HkwVri9SEXtBllRg51BHjAoz6jGPexndGruFP10lvnU fmc+/2xnR+3S4n90RaZNzuGoPjAcUfOnqISQlHJEZcXrVriLfPYXGeZdm05Dcec8GfkX f34Y15xdEcQPv+++NlRp15rpkjraiVxb505kT3WTq05q5iH1oyzINxsZKOSZlBdSXdYf na5w== 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 k19-v6si3781600pgl.595.2018.07.05.06.40.35; Thu, 05 Jul 2018 06:40:35 -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 S1753961AbeGENkV (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Thu, 5 Jul 2018 09:40:21 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:41315 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753716AbeGENdV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jul 2018 09:33:21 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 2C429CD51; Thu, 5 Jul 2018 16:33:17 +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 v2 09/34] media: camss: csiphy: Update settle count calculation Date: Thu, 5 Jul 2018 16:32:40 +0300 Message-Id: <1530797585-8555-10-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530797585-8555-1-git-send-email-todor.tomov@linaro.org> References: <1530797585-8555-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