[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0cb5fbd9-083f-8db7-e850-fcda9817bd23@linaro.org>
Date: Tue, 29 Aug 2023 11:51:47 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mateusz Majewski <m.majewski2@...sung.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>
Subject: Re: [PATCH 03/11] thermal: exynos: switch from workqueue-driven
interrupt handling to threaded interrupts
On 29/08/2023 11:18, Mateusz Majewski wrote:
> The workqueue boilerplate is mostly one-to-one what the threaded
> interrupts do.
>
> Signed-off-by: Mateusz Majewski <m.majewski2@...sung.com>
> data->clk = devm_clk_get(&pdev->dev, "tmu_apbif");
> if (IS_ERR(data->clk)) {
> dev_err(&pdev->dev, "Failed to get clock\n");
> @@ -1094,8 +1080,10 @@ static int exynos_tmu_probe(struct platform_device *pdev)
> goto err_sclk;
> }
>
> - ret = devm_request_irq(&pdev->dev, data->irq, exynos_tmu_irq,
> - IRQF_TRIGGER_RISING | IRQF_SHARED, dev_name(&pdev->dev), data);
> + ret = devm_request_threaded_irq(
> + &pdev->dev, data->irq, NULL, exynos_tmu_threaded_irq,
This does not look properly aligned.
Best regards,
Krzysztof
Powered by blists - more mailing lists