Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106146
b: refs/heads/master
c: e86b19c
h: refs/heads/master
v: v3
  • Loading branch information
Rene Herman authored and Linus Torvalds committed Jul 26, 2008
1 parent 486a902 commit 63050f2
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: c491b2ffae3fad5e6e3cb2320b46bb8ea8729d49
refs/heads/master: e86b19ce64a25d39bb0e10e0e695213fc5993dfb
4 changes: 4 additions & 0 deletions trunk/drivers/pnp/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/pnp.h>
#include <linux/dma-mapping.h>
#include "base.h"

LIST_HEAD(pnp_cards);
Expand Down Expand Up @@ -167,6 +168,9 @@ struct pnp_card *pnp_alloc_card(struct pnp_protocol *protocol, int id, char *pnp
sprintf(card->dev.bus_id, "%02x:%02x", card->protocol->number,
card->number);

card->dev.coherent_dma_mask = DMA_24BIT_MASK;
card->dev.dma_mask = &card->dev.coherent_dma_mask;

dev_id = pnp_add_card_id(card, pnpid);
if (!dev_id) {
kfree(card);
Expand Down

0 comments on commit 63050f2

Please sign in to comment.