Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp408025pxb; Wed, 1 Sep 2021 01:23:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysQLUYKB6vieGpN95EBzuEjKRpBoRXvDteOZYzhTpRXaAnjbAlfCjqahB7aED8WNCS4aES X-Received: by 2002:a50:ee94:: with SMTP id f20mr34183304edr.117.1630484613918; Wed, 01 Sep 2021 01:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630484613; cv=none; d=google.com; s=arc-20160816; b=MTjjQ8FfPBel1pHV0DMH9Cgoc67set5LlJQVutHjw9S/a3IL7cZFf/kWsXdnddcZVJ d/Fy6PajCak6LOY5tSIwsccqIy1w3Wd+FbQh9n235CRe35PjPETGaCLTmY0xzPFstUPA B4272T8xRJd/jggvZ7YAjyKoSj/SeywI58vn7PCWvzajrFD9X+CB9khRmgFRUEpxNXnB l7WE7qYQt5EhsKL5FESk3W8cQneY+lKK4zQre15k44MT/OnNdDVPJ/X0OpvVzRqf4AgI Gj2z5hWBkDHP3gwWSXsgb6z58LQ0eHI0EM57B7yqOu6o4CO2lYsjceR7lIoS2Tq1amxU 68TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/rJWYNLEshjtrC1IGOED6acbfsbHHmLBFIvrAeJEFiI=; b=NBrv73maSY14GzhphwWinG+AX028VErp7IYNYKPAYTOv3iZ+9K0rfWMHbWUyFzIFVl GWMMmq8/0svGVnUK2wmnTxcm1mYLpDeXRzxbYI9ZUuaokK1t8T1RDg1xDw1o5S0f6yvq U9GpIpmI1R6clzEdrvDRRLpBbPriZOhPDEECGl0HnEgFKq79qOYx+Z3UrMWCDWytwB0E f+5X4aV4GRvmvbtnSy9fMM87y3pOWi5B08drYN0mXOjrWdWI1Kdj2GINFlLnXvqe3V6v AoTokMdcnNQ03cDQmkp7i8+6iPAbKj0nV553upkJ7jbO8KP6Q3GBDYR86ZOieh9+qrga gzUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="nON/LH16"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si12764043edx.20.2021.09.01.01.22.51; Wed, 01 Sep 2021 01:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="nON/LH16"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243216AbhIAIUi (ORCPT + 99 others); Wed, 1 Sep 2021 04:20:38 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:25480 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243134AbhIAIU3 (ORCPT ); Wed, 1 Sep 2021 04:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1630484373; x=1662020373; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=/rJWYNLEshjtrC1IGOED6acbfsbHHmLBFIvrAeJEFiI=; b=nON/LH16VDTRy4UL6lm41/dLIDG31OIYHzqdVChmsTUkiItXn4YcsSUW cITe2FCzuV26IsPDblkchXTp5ZGgre6LadB6wIPWUop+VEp8aToOHirAu WMQMBmb3Ugcf6ph4kxOiDwZVOZy6Anf54kU82J+ZfY7AwgAd6LHUo7eK2 s=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 01 Sep 2021 01:19:33 -0700 X-QCInternal: smtphost Received: from nalasex01c.na.qualcomm.com ([10.47.97.35]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2021 01:19:33 -0700 Received: from fenglinw-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Wed, 1 Sep 2021 01:19:29 -0700 From: Fenglin Wu To: , , CC: , , Subject: [RESEND PATCH v1 9/9] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Wed, 1 Sep 2021 16:18:10 +0800 Message-ID: <1630484290-28190-10-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1630484290-28190-1-git-send-email-quic_fenglinw@quicinc.com> References: <1630484290-28190-1-git-send-email-quic_fenglinw@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Collins Increase the SPMI transaction timeout delay from 100 us to 1000 us in order to account for the slower execution time found on some simulator targets. Signed-off-by: David Collins Signed-off-by: Fenglin Wu --- drivers/spmi/spmi-pmic-arb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 55fa981..08c2566 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c @@ -91,7 +91,7 @@ enum pmic_arb_channel { /* Maximum number of support PMIC peripherals */ #define PMIC_ARB_MAX_PERIPHS 512 -#define PMIC_ARB_TIMEOUT_US 100 +#define PMIC_ARB_TIMEOUT_US 1000 #define PMIC_ARB_MAX_TRANS_BYTES (8) #define PMIC_ARB_APID_MASK 0xFF -- 2.7.4