From patchwork Sat Apr 11 12:08:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 228086 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58C65C2BBC7 for ; Sat, 11 Apr 2020 12:14:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32F8921556 for ; Sat, 11 Apr 2020 12:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586607294; bh=59SDtq83stogFrSkBMlUQ9dYbywXYRbprItnSNbUMEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=aknu2QcWNFi8F9Kvm/Hmx8TCGXMp7tM7Hr5IhENMjgviFLAfQ9+Jz/y3YvMWNgP1C 3B4WB3A0FqfYvFac9JZPgsXz4qyCvU/Ca5syifIprkZKsS0hXyfeb0dR73Q964TWQo d4aEBvGG0fFTMLGoAserG2BviejuhIeBraCv7OWE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726107AbgDKMOw (ORCPT ); Sat, 11 Apr 2020 08:14:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:48444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728045AbgDKMOv (ORCPT ); Sat, 11 Apr 2020 08:14:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C33B02137B; Sat, 11 Apr 2020 12:14:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586607291; bh=59SDtq83stogFrSkBMlUQ9dYbywXYRbprItnSNbUMEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RqbmT9potWOeaRhLoqfGNKPC3hCdfqEfcM3dtsut1Om1VIuX5atqw9am/l24kfMPn DG3cXCM/L2DAsbs10Zg3/jFVDSA29USQ3EL2yXXav7xgcpBrThjFjYrc/xUxUGCZJs Nd7wyonvCMqaBkBRKG+B+5rjfg32rZTPfrSdZBIs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing Subject: [PATCH 4.19 14/54] misc: rtsx: set correct pcr_ops for rts522A Date: Sat, 11 Apr 2020 14:08:56 +0200 Message-Id: <20200411115509.662924327@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200411115508.284500414@linuxfoundation.org> References: <20200411115508.284500414@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: YueHaibing commit 10cea23b6aae15e8324f4101d785687f2c514fe5 upstream. rts522a should use rts522a_pcr_ops, which is diffrent with rts5227 in phy/hw init setting. Fixes: ce6a5acc9387 ("mfd: rtsx: Add support for rts522A") Signed-off-by: YueHaibing Cc: stable Link: https://lore.kernel.org/r/20200326032618.20472-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman --- drivers/misc/cardreader/rts5227.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/misc/cardreader/rts5227.c +++ b/drivers/misc/cardreader/rts5227.c @@ -369,6 +369,7 @@ static const struct pcr_ops rts522a_pcr_ void rts522a_init_params(struct rtsx_pcr *pcr) { rts5227_init_params(pcr); + pcr->ops = &rts522a_pcr_ops; pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 20, 11); pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3; }