Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5004344rdb; Fri, 15 Sep 2023 21:53:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEL1xSkZHwaqTVP79vxjeUtoHJMy2/uwDMY4c6nxbNX+/vDR2ljSXr5IAzn+EMckN8dvXo/ X-Received: by 2002:a17:903:1110:b0:1c0:c86a:5425 with SMTP id n16-20020a170903111000b001c0c86a5425mr4235885plh.19.1694839999008; Fri, 15 Sep 2023 21:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694839998; cv=none; d=google.com; s=arc-20160816; b=rmHFsZmz9N6xffew2IpSoVWiooJ31XslOZY/DfS14MWi+hCst8OeIiMJIbo12IEHMO OfBsDmdn1V9JfbMFMJy4WHIiumKZx2E6n1x8OKRXWR5WpJp5KUzpN0iCaXjxCHcHqTL5 XDyLExVdOIBb8a+ua4UoSsYeZXon6indieePAfkuJsPKe47J6zo+i14d0R0+8jeAGTDn IZx6mWEdielUNH/V+DMEz4T8b0RAdUHa6/M5xRV+HCzIQxz6diLisji+W7WXMehcc2k5 yd8KxdgPDVJ9iVru3O6d8Jwf7Ax+XyIQjNUmY+OZ2jg92K0oFr22EX2ffkeJZEdZvERZ MZfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3c5R21G6rFC4L5xtStuKYMybEVPebn6k1tP1vluEjD0=; fh=Y4L4tsuaqhoss+jiZBsPB+uYJl0oNeWGkpJXSCtxuLc=; b=WzcdVFd6VREe4BUNZjka6+Hzzn6FLcQi3NgpebRSmrJFtOYPvrvVb8SWS+SNAtf78l h+NwOJPONqn/sSsrw1nfsrAS2gaBP+bJbh7TSJTBc6PwE0n3o7+58nXcIok6dWqk2PQt 50euL+RXeMFvJNFNT93J2muega8OHZrKVIjhxJjG4RB+4WaOTqOipzgOxFSMfuhr4pvw RzZb69VunKVbX7Ad1ZzDWqBbNwmd2OZfjwHL5WrYTtkbotUj8tD2vW0/ZwmuwvhgxVwG B7NObKefZTH3io9FfUUyEcCSMv9xriBj49O2mxYcFZfY7I+Lys+9Zq/ri5e3xp4Ad8wy k1Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BcQZmvB+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id la11-20020a170902fa0b00b001c3bf27a480si4220019plb.155.2023.09.15.21.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 21:53:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BcQZmvB+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1E217827AF80; Fri, 15 Sep 2023 13:44:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237269AbjIOUoG (ORCPT + 99 others); Fri, 15 Sep 2023 16:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233313AbjIOUne (ORCPT ); Fri, 15 Sep 2023 16:43:34 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2EF418D; Fri, 15 Sep 2023 13:43:29 -0700 (PDT) Received: from mercury (unknown [185.254.75.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id B6DA766072BE; Fri, 15 Sep 2023 21:43:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694810607; bh=kDX5Yws24juaWMmgBhmpCp9TZ/myYfWBHnXaef5fOzw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BcQZmvB+w08zKhoo4FheZE8owlX0OKnJvSQ0LbZemQ16N8hSod/HTg5oNF4aCPm4L buZB4IaIefT5RKPyEuUxX0TtUx5ul7l8zHmAvl1pdQl55g4nUN/dBjqEs09FbjiweM elDm88eSf7ksoxdDV9qlS7q84AV9w9mRvH3Ldxw4Ozka+eeX5lnLN8h29/X9K5l8Ri uPmaLwLj6Gjx3n8lelEmnUXNekpZlN0L55eoX8yzRzs9G2l0WRoSYLRzE88lN3SWqb sbA61++Msiocxf+orUrE6MwGIa/WsrtO7K4mAVsDsld5AEP5LtSO+WPmdfYJipM6CD dGyS7fS5kXysg== Received: by mercury (Postfix, from userid 1000) id 16726106044B; Fri, 15 Sep 2023 22:43:25 +0200 (CEST) Date: Fri, 15 Sep 2023 22:43:25 +0200 From: Sebastian Reichel To: Grant B Adams Cc: linux-omap@vger.kernel.org, tony@atomide.com, Bin Liu , Greg Kroah-Hartman , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 1/2] power: supply: Fix tps65217-charger vs vbus irq conflict Message-ID: <20230915204325.mokj2nmdwjdekxfo@mercury.elektranox.org> References: <20230823085430.6610-1-nemith592@gmail.com> <20230823085430.6610-2-nemith592@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="flopxljazsb4eo7e" Content-Disposition: inline In-Reply-To: <20230823085430.6610-2-nemith592@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 13:44:40 -0700 (PDT) --flopxljazsb4eo7e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Aug 23, 2023 at 10:54:29AM +0200, Grant B Adams wrote: > Enabling the tps65217-charger driver/module causes an interrupt conflict > with the vbus driver resulting in a probe failure. > The conflict is resolved by changing both driver's threaded interrupt > request function from IRQF_ONESHOT to IRQF_SHARED. >=20 > Signed-off-by: Grant B Adams > --- Your commit message does not explain why IRQF_ONESHOT is dropped; IRQF_ONESHOT and IRQF_SHARED are not mutually exclusive. -- Sebastian > drivers/power/supply/tps65217_charger.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supp= ly/tps65217_charger.c > index a4bc9f2a10bc..6f68becdbfd0 100644 > --- a/drivers/power/supply/tps65217_charger.c > +++ b/drivers/power/supply/tps65217_charger.c > @@ -238,7 +238,7 @@ static int tps65217_charger_probe(struct platform_dev= ice *pdev) > for (i =3D 0; i < NUM_CHARGER_IRQS; i++) { > ret =3D devm_request_threaded_irq(&pdev->dev, irq[i], NULL, > tps65217_charger_irq, > - IRQF_ONESHOT, "tps65217-charger", > + IRQF_SHARED, "tps65217-charger", > charger); > if (ret) { > dev_err(charger->dev, > --=20 > 2.34.1 >=20 --flopxljazsb4eo7e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmUEweIACgkQ2O7X88g7 +pqBFg//TKpyJrIWxj3CQDqbQlO4Ws8EmT0gAZP8DVzjXF7KZn+RDJ1tCu4QarWl iOJR72KDBckp2eMwJ3sFdm9MVclv+Z6SvQ9mCv21pCcsZR5I4lClaVHK+FxO23en vapSg22m8mMtPV7EJsr5UXj4uvRGvBtvZy6VyFc+Afk+u/EmHj8ZUxX27w2oEL/f xyFBYrXDGkf7hEdzaY9nU9dHjD9qQef9sDE8RlC6GAi4iahW8SysrGhEtPB8yYUR /HYVAg5S8FEmB+tt5arQO2lkn7Fxz1RKVZlPUaRxx/3HQ2vTqmWBvpG5JkNwezVS hcD1L0jvBByGxLI/oLNxLW6t56QM6Pz4YkxWdqLJbM+vQiTFaULcKpqxNiNhPBzX UagvMg8uvGLxZ0rUMg3+EQ1JrkKUAJikZaeoYxUealnAa53i6ozKKG5Y92PeLYyK yhRtX8FgxKeOT5GyBAn8xT6EUFexigdZ+CZYmsB7B/aWz3S9+rXPNJ5Fxo29g+Bh H36olrsqE8hqkD1uWrr0dqoIQ0MoWvZxczeiIuMQqtn8yDe24ntxYSAyq62EwPp8 fEVjJwtCsJfqQOiACXtbipOjg0BFY4cwHHJOGy2f9mzL9pJAOTxJq7vWCcZJZaSl EoPuk2/NG2C6UPB2paj19j/WJAWlgWeKZX1KDP/B/FRCqTMnAZg= =fRtN -----END PGP SIGNATURE----- --flopxljazsb4eo7e--