Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2053780imu; Sun, 18 Nov 2018 14:46:50 -0800 (PST) X-Google-Smtp-Source: AJdET5ebM9ulSijqfMoxlXRRET4FjwhRAfpJ9J7ZphObUOUsnJWm0x7woaRxc6u/A1sHrTtx0jzA X-Received: by 2002:a62:1a44:: with SMTP id a65mr20882078pfa.30.1542581210387; Sun, 18 Nov 2018 14:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542581210; cv=none; d=google.com; s=arc-20160816; b=Ze7yuBmO4U3ALfDT3Oc8v1U1i/4TnJmZbVz7ohdx3QLtqIB/0Xr7dAx4iHwWrb75f3 7eLAe6jNtR28Qj9Q7zh5k5+AzzQTb2t8cmJDVHUUkpk173mPgyc2p9oUmsh5Ra3z3g85 3UdWksIQH0mBJvfo/WyzV1P8WNVtSaCefJXZLYbdra5/8AFgzqqIxqIXaDPZXP9iVAyq 8zrpnEBG3Q5Jq10iOWq1bkMVdSjUoGhkdPKD9MU0/YAQNBzr7nQ7LjbTErRUK2qbXEX4 a4yvn+HzuCZZRQfcEjtzp/Qr23MvHJ6160Z4bZ0SR2l9DiWY3Csa4e8X6OvWjETeTobA 06zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=z8uZvtIh7jVVc+P4FyHeZ+VdoMfk3zchVcCssUIaFvw=; b=bLK2/fCCAembu+f1b/7KnPVDWq6JNjcmaMujV02HOLNHoIj2J9MLEHrEgk+9CNRmrX mtXW7lg9dCktkxq2nAaNoxv9UH9LI+xJaDKuEXm8UqhFTChtBvQQ0+yCmtzh0KgnGWCC SVIlsmjffcVAgeYP2vVMeJ1oxeeb9xNwkIkec+Zy1Hft5m/sR+tpBbjt9FHoLJ/JEO1k QjlHnLGLgS4UVhlTG8/+xAS/uzE0W0DgXdOXeqpn/mLozzRxVHIS1US2LlnKlaXkr5Vh iWVKJhH/y62c93RpCl6BbSmxyJVClDjHc1Mbx8CGBeMt1hSqfrwAWoX6JixNkY28GYDP FXgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189-v6si20696103pfc.98.2018.11.18.14.46.34; Sun, 18 Nov 2018 14:46:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728050AbeKSJFq (ORCPT + 99 others); Mon, 19 Nov 2018 04:05:46 -0500 Received: from muru.com ([72.249.23.125]:54426 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbeKSJFp (ORCPT ); Mon, 19 Nov 2018 04:05:45 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1F9A78081; Sun, 18 Nov 2018 22:44:11 +0000 (UTC) Date: Sun, 18 Nov 2018 14:44:07 -0800 From: Tony Lindgren To: Ladislav Michl Cc: Aaro Koskinen , Ulf Hansson , linux-mmc@vger.kernel.org, Andrzej Zaborowski , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5912/OMAP310 Message-ID: <20181118224407.GO53235@atomide.com> References: <20181118201919.14401-1-aaro.koskinen@iki.fi> <20181118222043.GA23485@lenoch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181118222043.GA23485@lenoch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ladislav Michl [181118 22:22]: > Aaro, > > On Sun, Nov 18, 2018 at 10:19:19PM +0200, Aaro Koskinen wrote: > > Since v2.6.22 or so there has been reports [1] about OMAP MMC being > > broken on OMAP15XX based hardware (OMAP5912 and OMAP310). The breakage > > seems to have been caused by commit 46a6730e3ff9 ("mmc-omap: Fix > > omap to use MMC_POWER_ON") that changed clock enabling to be done > > on MMC_POWER_ON. This can happen multiple times in a row, and on 15XX > > the hardware doesn't seem to like it and the MMC just stops responding. > > Fix by memorizing the power mode and do the init only when necessary. > > I'm going to use this patch as an argument against anybody complaining > kernel bugs do not get fixed. People just need to teach themselves to > be patient. Yup, good to have more usable devices :) And thanks for fixing it: Acked-by: Tony Lindgren