Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320072
b: refs/heads/master
c: b31b021
h: refs/heads/master
v: v3
  • Loading branch information
Luis Henriques authored and Mauro Carvalho Chehab committed Jul 5, 2012
1 parent 3a3bef2 commit 70f0b45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d432a3d7783b0b86ff08a111b7a4bea550fc4a2
refs/heads/master: b31b021988fed9e3741a46918f14ba9b063811db
3 changes: 2 additions & 1 deletion trunk/drivers/media/rc/ene_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,8 @@ static int ene_probe(struct pnp_dev *pnp_dev, const struct pnp_device_id *id)

spin_lock_init(&dev->hw_lock);

dev->hw_io = pnp_port_start(pnp_dev, 0);

pnp_set_drvdata(pnp_dev, dev);
dev->pnp_dev = pnp_dev;

Expand Down Expand Up @@ -1072,7 +1074,6 @@ static int ene_probe(struct pnp_dev *pnp_dev, const struct pnp_device_id *id)

/* claim the resources */
error = -EBUSY;
dev->hw_io = pnp_port_start(pnp_dev, 0);
if (!request_region(dev->hw_io, ENE_IO_SIZE, ENE_DRIVER_NAME)) {
dev->hw_io = -1;
dev->irq = -1;
Expand Down

0 comments on commit 70f0b45

Please sign in to comment.