From patchwork Fri Jan 25 15:11:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 156608 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp471180jaa; Fri, 25 Jan 2019 07:11:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN7awXRL4C8858/AtgBPbMsvvrqInRjmVGgjaxGQ/aUiT0ze2X8hTXUk7MER1xPVP3Y2vFWb X-Received: by 2002:a17:902:1126:: with SMTP id d35mr10695538pla.1.1548429105751; Fri, 25 Jan 2019 07:11:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548429105; cv=none; d=google.com; s=arc-20160816; b=DTDt2867Fc/pP7m1UYytD3lrhWAkhT9ifF32UGdZVMz3nR4ZbMULSYCQ7IQJKSczah opK5CGdkp4Eh9Zk9I1Di+ZY2LVHTW4wG9q0OlI7PLj2Qr5IQlH8DCrTQXQPI0zjMyJ6+ Yf/NfKiQ5V0lo/9k/MnfDkKhlg6u7ZUXmUHvCz6VnGTyqhcWypC4a0J1xIaOUIHqS+f0 3nZzMVyU9iNpBICziyhLdrzSZbU4IrfwYR080+QWav3hXQri/pBa6FMb4Upxq/VeJ0IJ WMZ0MLUzS7qnOAa8QgVrmK6r0zWaYX5f4BT/0W2oOBBKVSo0Ki7oUCnwmDvDul+fyUqm +KrQ== 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=YV5rLaKZVW3qP8TH7s2qU3bw/dDANThZx0Dfd6LDEnc=; b=uw4xS/9AWmE+MTvyt4A5tAV7uoj8YXWssmwTaYznsqKdd5ZgwHot8DRYb+yASxAHlE dshcgEUk2J0vK/WdKda8vvWU7lnvbT2JyyKuJUZ4L1gFbovPNKj/45kO9C0SKMb9QiDY VN+1aGi5/59wmSh045ziGxckJbHWI8Dzb8ScGZqOvhuPt3rnjXwCWEnOrsAQWOArlh/U dsYhaWavtVSsG6yDN0SIVFcy90jj56inVBKomYmYZCGpgwizb7onvR1H2fJxZGxAqb/0 RlRa0Fn0QapGJkq7xB2xh/dQGRp0W9V67Sp5mBFFOG+jQEvxKGHoBHAE5jzZmYxb4He7 oc0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TUGJflDQ; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 k12si10441107pgg.382.2019.01.25.07.11.45; Fri, 25 Jan 2019 07:11:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=TUGJflDQ; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 S1726256AbfAYPLp (ORCPT + 15 others); Fri, 25 Jan 2019 10:11:45 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36640 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAYPLo (ORCPT ); Fri, 25 Jan 2019 10:11:44 -0500 Received: by mail-wm1-f65.google.com with SMTP id p6so6944933wmc.1 for ; Fri, 25 Jan 2019 07:11:44 -0800 (PST) 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=YV5rLaKZVW3qP8TH7s2qU3bw/dDANThZx0Dfd6LDEnc=; b=TUGJflDQ9B6H+ATG+uTg14PkU0QEh931sz5tw7s7+oRKZdxplDoeg6Yb5cvZ9zfPYF zl+/HJI5ibNjNDJT44hrGn/e+hmGlLbcH0kwv95HaTbnyXx/esnXRVB1b2VtXjTL+7UR pKQwLcjoSCo+sRqqF/bWNKYUXE4jwM59epH5M= 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=YV5rLaKZVW3qP8TH7s2qU3bw/dDANThZx0Dfd6LDEnc=; b=LJZY8geXMerZcdqIRklW/rAhUlieQ1C22rx3KwP9L+Im13Z5SNcoYosGbS9akev/D8 Qj3bZpzCoYZ1X7sDCTHM/W+Aj4CiP1fmZqtwq2lmX84J2E+03iOdoxkunFvjMnE3hKUf P44yQ3r9ST44berf9h/I03yKoQj45QyTEuKQb9oRSbNSThesUauTGZ9ShZb/MK+atj2F uOnSJpA+oRA8YPf+4m1PUE6z1vNtpS/oa/kstwL4V0Oa5KmiHtGyLeVh43joJVmR7Pig qj2BIY66jWo5Dx08ujtRDbe9qq3wcwbVurqmt197ukNCp2Kxz7c4oaRt/4AUaJbttJnJ Tvvg== X-Gm-Message-State: AJcUukdmc3m4zqDfWT2du0rAE6iAyDfJUHl3nwOMge67PCndYDDaL3MX N6MPktI/MeYEJrz+E4aqExCkdOPS9sk= X-Received: by 2002:a1c:8484:: with SMTP id g126mr7528142wmd.117.1548429102953; Fri, 25 Jan 2019 07:11:42 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id j8sm166302026wmd.0.2019.01.25.07.11.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Jan 2019 07:11:42 -0800 (PST) From: Georgi Djakov To: stable@vger.kernel.org Cc: loic.poulain@linaro.org, koen.vandeputte@ncentric.com, Vijay Viswanath , Georgi Djakov Subject: [PATCH v4.14] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS Date: Fri, 25 Jan 2019 17:11:41 +0200 Message-Id: <20190125151141.2736-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Vijay Viswanath commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream. Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific register read and write APIs, if registered, can be used. Signed-off-by: Vijay Viswanath Acked-by: Adrian Hunter Signed-off-by: Ulf Hansson Cc: Koen Vandeputte Cc: Loic Poulain Signed-off-by: Georgi Djakov --- We got a report [1] that a specific platform (ipq806x) fails to build, after the following commit in the v4.14 stable kernel: 4abb6960f61c ("mmc: sdhci-msm: Disable CDR function on TX") Let's pick this patch into v4.14.y to automagically select this Kconfig dependency for platforms which have enabled the driver, but not the accessors in their kernel config. [1] https://www.spinics.net/lists/linux-mmc/msg52983.html drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 8c15637178ff..9ed786935a30 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -429,6 +429,7 @@ config MMC_SDHCI_MSM tristate "Qualcomm SDHCI Controller Support" depends on ARCH_QCOM || (ARM && COMPILE_TEST) depends on MMC_SDHCI_PLTFM + select MMC_SDHCI_IO_ACCESSORS help This selects the Secure Digital Host Controller Interface (SDHCI) support present in Qualcomm SOCs. The controller supports