Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149901
b: refs/heads/master
c: b26ed97
h: refs/heads/master
i:
  149899: 5f1c299
v: v3
  • Loading branch information
Anna Neal authored and John W. Linville committed Apr 22, 2009
1 parent 834c318 commit 0dde808
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25e47c18ac4d8ad09c2ed4b99c1dbbcb7e3d2c51
refs/heads/master: b26ed97c75e1538176c09f29c423a3f8a75868a7
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/libertas/if_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ static int __devinit if_spi_probe(struct spi_device *spi)
struct libertas_spi_platform_data *pdata = spi->dev.platform_data;
int err = 0;
u32 scratch;
struct sched_param param = { .sched_priority = 1 };

lbs_deb_enter(LBS_DEB_SPI);

Expand Down Expand Up @@ -1123,6 +1124,9 @@ static int __devinit if_spi_probe(struct spi_device *spi)
lbs_pr_err("error creating SPI thread: err=%d\n", err);
goto remove_card;
}
if (sched_setscheduler(card->spi_thread, SCHED_FIFO, &param))
lbs_pr_err("Error setting scheduler, using default.\n");

err = request_irq(spi->irq, if_spi_host_interrupt,
IRQF_TRIGGER_FALLING, "libertas_spi", card);
if (err) {
Expand Down

0 comments on commit 0dde808

Please sign in to comment.