Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commitd58ac80

Browse files
ahunter6storulf
authored andcommitted
mmc: sdhci-acpi: Fix IRQ 0
Zero is a valid IRQ number and is being used on some CHT tablets. Stoptreating it as an error.Reported-by: Luke Ross <luke@lukeross.name>Fixes:1b7ba57 ("mmc: sdhci-acpi: Handle return value of platform_get_irq")Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>Cc: stable@vger.kernel.orgSigned-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent47b7de2 commitd58ac80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎drivers/mmc/host/sdhci-acpi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
680680
host->hw_name="ACPI";
681681
host->ops=&sdhci_acpi_ops_dflt;
682682
host->irq=platform_get_irq(pdev,0);
683-
if (host->irq <=0) {
683+
if (host->irq<0) {
684684
err=-EINVAL;
685685
gotoerr_free;
686686
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp