From patchwork Mon Sep 9 09:08:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 173362 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4087691ilq; Mon, 9 Sep 2019 02:08:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzGRh1rwlrfbdXBF4jl1n81VdI2xo2bQM5eyJYW0uK22QX/33JkfGxh5McxZRA+YObdznX X-Received: by 2002:a50:de08:: with SMTP id z8mr22988934edk.121.1568020137573; Mon, 09 Sep 2019 02:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568020137; cv=none; d=google.com; s=arc-20160816; b=DiHblHogK9JJSKaZXp4R8N7Y7GvHWnpVCJf5dvm2XAVG/1xTClx+QYXTKb2/EldGXa oih4Im75/PJCXNHu55u7DwdCSSNCrnzv847KkL64/PS6+LqlKyh4vWg/7GjbBGTWIHBk 2xs1UyuK10ybYd78MnSFVOrpiyx8g5KDtMr1gr+YfBRnOZ2wbNGv3NbpyiDkClxTrKCn 5SfTWgDJvlG9CKMqtbgokRyWBGYYXXAEOcCFHxtlZ37pz3voBIiAsc6nbHx8+P7SDViF A0YnMOHzakhQzQnTetmLh/I2kxtVEIMhCWTxbJoVMPnPtr3SFInOSaYDI4WVHwA7jnwS PjPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+4BP5T9F1nQ04WHnHdo2p8zuW4F9kfRfYy2Oe7UAEX0=; b=MDY0JOcSvHIHK7o74LvMrrgnCmsLbe5ECweFoZbDKxE7yh75mySsp2JxZ7k30syqPy nXFOEMn6lg1+27AGS0WNJ9W0EuyqG2QqMUYGiroJwCGv0t7MuC95n9E+K2+qYYwWr7cj lY40X9mQRxDu70T+Dbhz7EyDNBjCyv5OY2EqmwhovlFpNvuKcS3H3msxhtGi4XobrZUD psoz2SDoktBsl+bowyNQ635U0GvTFvedZVAFpNoYeQuZLePnc/6jqS+kykCft34/m3DN HKPoMJG5MeEfC5FoTM+zCTjXQ/Hz7PPTCZ4YWkW4SA5EnKrTuafr3J0Ah0EKzrLERwHg jvMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zK6YC8uR; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b50si8098421ede.28.2019.09.09.02.08.57; Mon, 09 Sep 2019 02:08:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zK6YC8uR; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389617AbfIIJI4 (ORCPT + 15 others); Mon, 9 Sep 2019 05:08:56 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38099 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728214AbfIIJI4 (ORCPT ); Mon, 9 Sep 2019 05:08:56 -0400 Received: by mail-wm1-f66.google.com with SMTP id o184so13679070wme.3 for ; Mon, 09 Sep 2019 02:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+4BP5T9F1nQ04WHnHdo2p8zuW4F9kfRfYy2Oe7UAEX0=; b=zK6YC8uR+gx2gtTbPZfrQvjTvhixWiVL06+lDRgRpep0OWa0qLpWHztn4WRtplHEyU dQOdL99eUOl5HZrIxKhvz8dfoCAlkABvDPcWGJE4uSy83Zzmn2NfKPYVslAzh+QfpUWo ybimlvKx5VDA92w9wUl/peF69vLGiurOdeQZruQLOv3G8a2aBXlxYz3yJueWUCk8pfF2 Fthtj+0kBNhsE8S2dvO2H6qCN7GXHeb46x6it+GSFJAJRgl25vEPcmAeyi6H913Yb/tY DggHN5cjUxx6A+/nup96gQwTecH8lo3M6h8gbAJqjOac7MddbSYz9kNPcQ/LDv3A14BP DNFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+4BP5T9F1nQ04WHnHdo2p8zuW4F9kfRfYy2Oe7UAEX0=; b=ZNkUSzv33vUIH1phlCuETvZE/koNSSoMBHDpu4A2zGAM5WQSOKj9gqiw22zgxUqSHF 5IrAq5Wfhb1ncha7k17zd/t78fF2mySIpDrMJ+dncmRwkyK3J+NeDPaCP9Al0N154KDO S+UVbGIGIWBckVnAew+zLHQuz8H2EWGrUJbG4rVMta6B2+kS8/wbIgFdpcKKvpc1Qj25 xq6aICePFVQYmNZg7OOklwVdkmoRcopn68/chyP7FvTsZ53kC6apD9vd/ZcpzPhooiuc nOHaPUPNPUJPfuyNbFYkT4YJj+pJB7EyQxizVBTDtFoBDJTSF+YDBZQYOImtMYfqOPAk vQlg== X-Gm-Message-State: APjAAAXldlByu8CU07aMjfN4GxueThhFKM42wgEcTeaFxLBgTL6tGtA5 PV4bIpIZtj9bQ/qbSWaLc1CZWA== X-Received: by 2002:a05:600c:228a:: with SMTP id 10mr18757070wmf.62.1568020134357; Mon, 09 Sep 2019 02:08:54 -0700 (PDT) Received: from localhost.localdomain (69.red-83-35-113.dynamicip.rima-tde.net. [83.35.113.69]) by smtp.gmail.com with ESMTPSA id o12sm14734488wmh.43.2019.09.09.02.08.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Sep 2019 02:08:53 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, agross@kernel.org, jassisinghbrar@gmail.com Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, sboyd@kernel.org Subject: [PATCH v2] mailbox: qcom-apcs: fix max_register value Date: Mon, 9 Sep 2019 11:08:50 +0200 Message-Id: <20190909090850.10822-1-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The mailbox length is 0x1000 hence the max_register value is 0xFFC. Fixes: c6a8b171ca8e ("mailbox: qcom: Convert APCS IPC driver to use regmap") Signed-off-by: Jorge Ramirez-Ortiz --- v2: added Fixes tag drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0 diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 705e17a5479c..e5d6b1b70441 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -28,7 +28,7 @@ static const struct regmap_config apcs_regmap_config = { .reg_bits = 32, .reg_stride = 4, .val_bits = 32, - .max_register = 0x1000, + .max_register = 0xFFC, .fast_io = true, };