Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357095
b: refs/heads/master
c: d62b681
h: refs/heads/master
i:
  357093: ea85d5e
  357091: 9da750e
  357087: a168358
v: v3
  • Loading branch information
Matthijs Kooijman authored and Mauro Carvalho Chehab committed Dec 21, 2012
1 parent 05f566e commit 42f1b19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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: 70ef69915b1fba4ad85aebe530caf156a144c2e5
refs/heads/master: d62b6818477704683d00c680335eff5833bd3906
4 changes: 3 additions & 1 deletion trunk/drivers/media/rc/fintek-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ static int fintek_probe(struct pnp_dev *pdev, const struct pnp_device_id *dev_id
/* rx resolution is hardwired to 50us atm, 1, 25, 100 also possible */
rdev->rx_resolution = US_TO_NS(CIR_SAMPLE_PERIOD);

fintek->rdev = rdev;

ret = -EBUSY;
/* now claim resources */
if (!request_region(fintek->cir_addr,
Expand All @@ -572,7 +574,7 @@ static int fintek_probe(struct pnp_dev *pdev, const struct pnp_device_id *dev_id
goto exit_free_irq;

device_init_wakeup(&pdev->dev, true);
fintek->rdev = rdev;

fit_pr(KERN_NOTICE, "driver has been successfully loaded\n");
if (debug)
cir_dump_regs(fintek);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/media/rc/nuvoton-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,7 @@ static int nvt_probe(struct pnp_dev *pdev, const struct pnp_device_id *dev_id)
/* tx bits */
rdev->tx_resolution = XYZ;
#endif
nvt->rdev = rdev;

ret = -EBUSY;
/* now claim resources */
Expand All @@ -1089,7 +1090,7 @@ static int nvt_probe(struct pnp_dev *pdev, const struct pnp_device_id *dev_id)
goto exit_free_wake_irq;

device_init_wakeup(&pdev->dev, true);
nvt->rdev = rdev;

nvt_pr(KERN_NOTICE, "driver has been successfully loaded\n");
if (debug) {
cir_dump_regs(nvt);
Expand Down

0 comments on commit 42f1b19

Please sign in to comment.