Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2701967imm; Tue, 4 Sep 2018 08:39:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZJ77UgdDx+uoQmsPdx6GkIG1P5v95xCSDKPES3NiEK5y5YgDnTSMvzs7UjLa12FgbOJkIs X-Received: by 2002:a63:2c8e:: with SMTP id s136-v6mr32662639pgs.390.1536075599754; Tue, 04 Sep 2018 08:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536075599; cv=none; d=google.com; s=arc-20160816; b=rp4GLK+cSWx8FOpjpCFdvITdLCv4HEfoVTBLdQhoPOi/djCRKpD8ONK1TJAeAGWdpS EwdtlDOY49wJ2Zht1NDHE8B92UUWtodsE40yGeysnlGgUiIyRaBT6pn11m6oo4naQFGV NUsrbpNc8utBDzukvLQ1YOzgEsktNvmKyNiHWervq3O4b26bZxcsXpJD/Y1C49Jhl+m5 nzFvuVEFX1Lf+fofsK+pw3VMrUyphVPsqhjts+tVZHfXMFu9Glsak2xQAbg2kOqW+T5x vjVO/hNud2g23GTPHOelMjp4xPzrwb0AHaXOG2NG6QyJ9IhzssmOBQz93WL81Jlow4T9 81TQ== 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:arc-authentication-results; bh=hnu24jQWkAmkcT97MkDV9MLCWHsJVVKZLGHxDEB9ou8=; b=Z8qEITlZaugsghyVWqdIj/YQMnhCh3QPUmqZcluJnY4MuWYvR1GmEr7D+TI4LGm7cc ieBJ7egEbtQ3LC9a/G6oYcxKn+/cgyVry1PONaGNTpL7FpvU6Huh3rQv09WEu/3WDrMb nJFjy8Lk2KM3AmZ6r5E6WwpSpZfSG5ViZghxDlu2x8LwJBFISRfOftqjoY78EsJ5QrdT Y2+BBgiP2Yznc/MgO08rS4ihMN61zN0i20dXq+32kENi3aUYosyW2mnax1BMfzLc+ckd yDISNOmfaJz/FjMuI/fvsbhKiTnifA6tOSzG0DNFbtxIjGxGAgYdZ5uLhOCup+kOrbPF vwYg== 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 s2-v6si21089311plp.144.2018.09.04.08.39.44; Tue, 04 Sep 2018 08:39:59 -0700 (PDT) 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 S1727861AbeIDUEK (ORCPT + 99 others); Tue, 4 Sep 2018 16:04:10 -0400 Received: from muru.com ([72.249.23.125]:55244 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727533AbeIDUEJ (ORCPT ); Tue, 4 Sep 2018 16:04:09 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4306C80E1; Tue, 4 Sep 2018 15:42:30 +0000 (UTC) Date: Tue, 4 Sep 2018 08:38:28 -0700 From: Tony Lindgren To: Ulf Hansson Cc: Andreas Kemnade , Kishon , Wolfram Sang , "linux-mmc@vger.kernel.org" , linux-omap , Linux Kernel Mailing List , Discussions about the Letux Kernel Subject: Re: [PATCH] mmc: omap_hsmmc: fix wakeirq handling on removal Message-ID: <20180904153828.GC5662@atomide.com> References: <20180902073058.17053-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 * Ulf Hansson [180904 14:39]: > On 2 September 2018 at 09:30, Andreas Kemnade wrote: > > after unbinding mmc I get things like this: > > [ 185.294067] mmc1: card 0001 removed > > [ 185.305206] omap_hsmmc 480b4000.mmc: wake IRQ with no resume: -13 > > > > The wakeirq stays in /proc-interrupts > > > > rebinding shows this: > > [ 289.795959] genirq: Flags mismatch irq 112. 0000200a (480b4000.mmc:wakeup) vs. 0000200a (480b4000.mmc:wakeup) > > [ 289.808959] omap_hsmmc 480b4000.mmc: Unable to request wake IRQ > > [ 289.815338] omap_hsmmc 480b4000.mmc: no SDIO IRQ support, falling back to polling > > > > That bug seems to be introduced by switching from devm_request_irq() > > to generic wakeirq handling. > > > > So let us cleanup at removal. > > > > Signed-off-by: Andreas Kemnade > > Fixes: 5b83b2234be6 ("mmc: omap_hsmmc: Change wake-up interrupt to use generic wakeirq") Ooops sorry about that. > Applied for fixes, and added a stable tag, thanks! OK and thanks for fixing this Andreas! Regards, Tony