Message ID | 1532343772-27382-11-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-v6csp5913132ljj; Mon, 23 Jul 2018 04:07:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpflJUee+sx4e6HTCQSigWF36fXyoJVcFJHh6fIyhq6ZA8ks2H6OOyxwepO0iYFTFPDrVZxi X-Received: by 2002:a63:3c4a:: with SMTP id i10-v6mr11731232pgn.415.1532344057034; Mon, 23 Jul 2018 04:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532344057; cv=none; d=google.com; s=arc-20160816; b=JidTchytg7JjizMhCCGbdbF1c8J1FYAMYj8GNC6ouFyBA6gGwY1YD4bS+lQ07Zq+CU EpXmUfjm4aIxMMJswdk+qqQtIXR0Gc22hezOjAXdw+qQLsu1/vkbhsaVULgi6xCOgwg/ b8iXiMT0BN0+oEpWxVT/zAdgo//1aOOHL/9ldWDxonIHJ9gMhieFIM1wB9QVhmhl88yz wzQbzIvIIIAbyFfcys0e9TK5hF+6QuX/lrXWOwDQ/xj+HjXgfQblqam7OwHefzJ3X7pK hQaJta4oONsyfO+JEEc5hk1lDzo7VQvr+GAV++Pd2pDK/h2GG01tGt0c2UPfmcx92yQz T/Cg== 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=ZswSi8jZpu0Id2u8zjOzSmKpHmhTxNWGJAG1wTYiubmrBf1b9NLALH0YA911ZtIelv lONpKR58/bdCyPuT+Um3eFIT7SVUQu7kVd2mvKXZPr+uBWOz7tdhvbIkUR9EINACWV2D tfrw/2vkS8uN+Aa/cpnxS9LAExUaGvrF4lbF4k7F7i5gsjxLIInO6C6EtlMdonquZUYc 7MXaBljPCD/7ICy75Ixhh0CjP7JCfui4s/RmzD946+U2/ghkAigpk97O2nKdHWPqxE3y Piqez53qqQratEMj2aa5KwQ9pW/7XbfNncbW9uXGSzdAsWDx3C+NJy7luxjjT6RkXPS5 xJ+w== 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 w19-v6si8046017pfn.160.2018.07.23.04.07.36; Mon, 23 Jul 2018 04:07:37 -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 S2388519AbeGWMID (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Mon, 23 Jul 2018 08:08:03 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:39916 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387849AbeGWMEo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Jul 2018 08:04:44 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 7364CCD59; Mon, 23 Jul 2018 14:04:02 +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 v3 10/35] media: camss: csiphy: Update settle count calculation Date: Mon, 23 Jul 2018 14:02:27 +0300 Message-Id: <1532343772-27382-11-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532343772-27382-1-git-send-email-todor.tomov@linaro.org> References: <1532343772-27382-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