Message ID | 1532536723-19062-11-git-send-email-todor.tomov@linaro.org |
---|---|
State | Accepted |
Commit | 7066647cdb4d3ea24fe6f34a9fc9812711eacba6 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1031631ljj; Wed, 25 Jul 2018 09:42:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpetLuYfSdbWxyHelU0BCAy68yZMnXzzb4Lv4w1htoI6AN94AqVYIbbIBEmBGn+RGirkYocV X-Received: by 2002:a17:902:8d98:: with SMTP id v24-v6mr21663957plo.250.1532536949740; Wed, 25 Jul 2018 09:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532536949; cv=none; d=google.com; s=arc-20160816; b=ODnGLv07ACK3ASEBsuxOwXmOnK7BRouFAsicXbnsta/QCzhtCRfDsN+CZ72g9ha28k XHsFlXADeQTXP7F9+w0igS35ippljrkrbBRVrFHHa9tKO9H2rm1xw7Qa8DD2TRh0ZGZq VsW2NFNGNQQ0edxBE4ei4PzJ34m9YnhmOE7KIgPytuUNA3r5/TG/pxnKm+4gESrLq8kI THuB7GloUSNhbia3cbAcAfS0mEA6Dvqr6m3c4Ap9bjeOQkyC94SQ0Z6L6YarSWi1OQZB wg0AI6RfBWbNk43XQhq2U34UBrJgJBXdSPQoEqFAGHDy4ksWBtrR9uiQSiiInP1chpmf TtxQ== 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=CLT/XGfA547k6s0FNZXxAOSYjuWDkSo8VmKkHMTO4QtvSSM3ltcOfoWcvfVQ/xIXbT WrNGccJvkgWGIBkCQHzobV/hwEnCoy/y2CsqpyH5V7IlTXOTHbC5x7jQ77LjicUxQHoP 6X9RMGUfUJWNaPf0wIzWeJYgNii/rIorZnntTX0NdBZerwMQ5G4s2q4Ddf9iknEwpfBQ TxzD6RfGOnMyK91X6TNS5tauMEu30OppmU7AtcL1DX+/72f53EhYeQVB1wNCcnz7EyS0 rOG4PxjQK219kq76w7176QmWBbq0zq+ZgjdowlKmqn/iBBsyHzYB16uQBDUOQJVovS+Q 5cMg== 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 u186-v6si15229084pfu.263.2018.07.25.09.42.29; Wed, 25 Jul 2018 09:42:29 -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 S1731474AbeGYRyz (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Wed, 25 Jul 2018 13:54:55 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:35590 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729378AbeGYRvY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 25 Jul 2018 13:51:24 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 06ACFCD5C; Wed, 25 Jul 2018 19:38:54 +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 v4 10/34] media: camss: csiphy: Update settle count calculation Date: Wed, 25 Jul 2018 19:38:19 +0300 Message-Id: <1532536723-19062-11-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532536723-19062-1-git-send-email-todor.tomov@linaro.org> References: <1532536723-19062-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