Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311768
b: refs/heads/master
c: 7b86cef
h: refs/heads/master
v: v3
  • Loading branch information
Jon Hunter authored and Kevin Hilman committed Jul 3, 2012
1 parent 9e00252 commit fd87649
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9e303f228c24d529bf479196d290eedc2a04cd5e
refs/heads/master: 7b86cef34afceeecf57d4d07f3cfab06f8b60b13
4 changes: 3 additions & 1 deletion trunk/drivers/gpio/gpio-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,6 @@ static int __devinit omap_gpio_probe(struct platform_device *pdev)
bank->is_mpuio = pdata->is_mpuio;
bank->non_wakeup_gpios = pdata->non_wakeup_gpios;
bank->loses_context = pdata->loses_context;
bank->get_context_loss_count = pdata->get_context_loss_count;
bank->regs = pdata->regs;
#ifdef CONFIG_OF_GPIO
bank->chip.of_node = of_node_get(node);
Expand Down Expand Up @@ -1145,6 +1144,9 @@ static int __devinit omap_gpio_probe(struct platform_device *pdev)
omap_gpio_chip_init(bank);
omap_gpio_show_rev(bank);

if (bank->loses_context)
bank->get_context_loss_count = pdata->get_context_loss_count;

pm_runtime_put(bank->dev);

list_add_tail(&bank->node, &omap_gpio_list);
Expand Down

0 comments on commit fd87649

Please sign in to comment.