Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181202
b: refs/heads/master
c: d85429a
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Feb 16, 2010
1 parent 7aa2761 commit 587c289
Show file tree
Hide file tree
Showing 3 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: 92e1f9a7ed613b36f3aaf8b04a79e2fd4fa37ec1
refs/heads/master: d85429a31790361b9e952be3817134c23b3b758a
3 changes: 3 additions & 0 deletions trunk/drivers/sh/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,9 @@ void __init register_intc_controller(struct intc_desc *desc)
d->chip.mask_ack = intc_mask_ack;
}

/* disable bits matching force_disable before registering irqs */
if (desc->force_disable)
intc_enable_disable_enum(desc, d, desc->force_disable, 0);

/* disable bits matching force_enable before registering irqs */
if (desc->force_enable)
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/sh_intc.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ struct intc_hw_desc {
struct intc_desc {
char *name;
intc_enum force_enable;
intc_enum force_disable;
struct intc_hw_desc hw;
};

Expand Down

0 comments on commit 587c289

Please sign in to comment.