Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1396641pxb; Thu, 28 Oct 2021 02:56:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+VZm3Awybf/cZr3sTgfIeW05GG52nIdi2FBrym50QIPe7HtqDZmBOLlFHKp+8ZbHvgvpO X-Received: by 2002:aa7:cac2:: with SMTP id l2mr4803122edt.168.1635414990189; Thu, 28 Oct 2021 02:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635414990; cv=none; d=google.com; s=arc-20160816; b=MOSEOkY6s/EQq64DMIzw0M24Uc7aj/pit6W3KcWtgk2uVNRKZYTc5iI4SQ+Ub5y2Oo PS/NGWc1m2qSX5oNaZQ0mZcZZVC2Ai63L0qMPp903XmNgsk9cKIb6DVrJcvqKdf6bw/R rQa/02qd0UNWX7zelfHDs24UUo8JqEnHql27ShzlXaQ/FHuTYJb+qU++xBGw8HzOixl6 UxWrNYkSJ691ZxIEUUwwS2a7+aNx1zhw7AWv+LLAoLTB233DSAnrlcXXGSe7oIiAYrQU eH4yGQS+nmvpYYL9SE2+9i5kHHS3YlW8hDENe6vUjiVQIzQFTP9KMeRxW82/VVp7vxZw 3dNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KCpmUIi4CdbkIKY1b/j8ncQVr9EMyQgSlpp/uwcjT8I=; b=wmiz3cWtiqXFx06sf8cTLe/vrmG/u/Iu098XuR4mre3ZEDGovp0hk7fiqqRZVhAKVW +3KU09XLbt+vJcxKfRlOj4PnVd3tZkeN1VA9JzbL/cbsbMwPQ6Ivt7favzTQPcjB/+NO j5dFU/2MA2Ik9jcoHeSNJa/XXloYZfvwW3x52ty7+eto7YQRiVtnJ+MxgT/Qk2FY7gU/ 9wfvRvDt/BR9AKSQugLO2Hd8w+XWyNiEXx4JrQTLHmEH6ZzRjlwSYzd+yn91+R5knfAV 8L9XsfYkWnrmOVeCeqI6BqD7LUwzig521ZPq1E9hhCTDoHjaf7A6H06L5n8/EsnSsRap m8nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jUDMWyaj; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb9si4738437ejc.163.2021.10.28.02.56.06; Thu, 28 Oct 2021 02:56:30 -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=@linaro.org header.s=google header.b=jUDMWyaj; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229978AbhJ1JyM (ORCPT + 99 others); Thu, 28 Oct 2021 05:54:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbhJ1JyL (ORCPT ); Thu, 28 Oct 2021 05:54:11 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E167C061570 for ; Thu, 28 Oct 2021 02:51:44 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 188so9695644ljj.4 for ; Thu, 28 Oct 2021 02:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KCpmUIi4CdbkIKY1b/j8ncQVr9EMyQgSlpp/uwcjT8I=; b=jUDMWyajK0l2lhY4KRjDzD3/OTMk+bkhq3AnRUjLSCXhsitnZHNtNagE85/1smHyJ1 EBU5SlSD1fhxXVkks2c21QXXeYbjcEsp5G/c0ZJdr4YFC14ua1yF4pfLQz+rRMYipwyM usWTyEXNOymtogNGR5Oot/6TGJ8ndkZtxC1cIKCnWtrHNzPZDLqBDbs/hbeoX2vYc3Ww 5lgIayuiYkYjP1N0UtAnbVfK1jFiq6NgJTKMd5byY2RaIqaGUjyc39XlROSsRRp+SsLB 3QsvBor/LEIt+BOdimnZcXP2mVVcsoBmiFmZ72DRmcbUktNgWuvxvaPh3oz0l1Wm+yqA cjfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KCpmUIi4CdbkIKY1b/j8ncQVr9EMyQgSlpp/uwcjT8I=; b=4O8322Gpo687b4o36/Ndwc30SYecYHiEMY3T4xHNE8vszQgDTBDKU9JvfDEMJ5VjE1 +j/NtHvrXorrZGszU4+yNMvuL/vGEhfeqe/ubn2sXIFVj3kXC0nQ8dCpdW2YGmL9PeJ+ flP+m3ev0sC0MMiajBHOMAHcxWkv+1RuOBOpwrz/SfWkR7CGpynoYMxZelAzGIfsB4Ic qKL19dxuJiVoLDrF+1eSuzLlW7NWMT7hC4MIwIeprhomTm+52LNRSWXSHk6z4wEzGGXg w5lq4NFccR0BHmrBFPFTEToLfa66Dkk+abkslfUiOAw+ETjprQXSW97SoPfgm5S8MaOa Hq1g== X-Gm-Message-State: AOAM532dDmXZoq5XfKDGz8sOYHd4VgjNWUMl6wIvTS0M5DJpxBLszlkq nrPfN7I4d3XCDJPpIkKjg+PSGjGhLauYis2Ydn/q3g== X-Received: by 2002:a05:651c:907:: with SMTP id e7mr3728516ljq.300.1635414702972; Thu, 28 Oct 2021 02:51:42 -0700 (PDT) MIME-Version: 1.0 References: <8ecc5c79c1dd0627d570ede31e18c860786cacca.1633519499.git.hns@goldelico.com> <470A96FD-DB24-4C32-BC9F-AE2F617FBF2D@goldelico.com> <2013308.OSlt1BDEiP@pc-42> <1EF25CD6-7801-4C15-AB4C-5F499948A653@goldelico.com> <920CFF1F-475C-4403-B563-DDD144F7E52D@goldelico.com> In-Reply-To: <920CFF1F-475C-4403-B563-DDD144F7E52D@goldelico.com> From: Ulf Hansson Date: Thu, 28 Oct 2021 11:51:06 +0200 Message-ID: Subject: Re: [RFC] mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc To: "H. Nikolaus Schaller" Cc: =?UTF-8?B?SsOpcsO0bWUgUG91aWxsZXI=?= , Avri Altman , Shawn Lin , Linus Walleij , Bean Huo , linux-mmc@vger.kernel.org, linux-kernel , Discussions about the Letux Kernel , kernel@pyra-handheld.com, Tony Lindgren , Linux-OMAP Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > >>> > >>> Combining your suggestions we could do roughly: > >>> > >>> in mmc_sdio_init_card(): > >>> > >>> if (host->ops->init_card) > >>> host->ops->init_card(host, card); > >>> else > >>> mmc_fixup_device(host, sdio_prepare_fixups_methods); > >> > >> I think I mostly agree, but why you don't call mmc_fixup_device() if > >> init_card is defined? (BTW, mmc_fixup_device() takes a card as > >> first parameter) > > > > Because I want to get rid of init_card. It is host specific and not client > > specific. > > Ah, on a second though we can do that independently. Either there is > some init_card - or something in the fixup tables. Why not both... > So the else clause is not needed. I agree, I definitely want to get rid of ->init_card() as well, but let's deal with that from changes on top. [...] Kind regards Uffe