Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355440
b: refs/heads/master
c: 6797b4f
h: refs/heads/master
v: v3
  • Loading branch information
Jon Hunter authored and Tony Lindgren committed Feb 1, 2013
1 parent 17f02d2 commit c6ebb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a16723709cff6d69567024c28d32d1344f08cecf
refs/heads/master: 6797b4fe0e554ce71f47038fd929c9ca929a9f3c
6 changes: 5 additions & 1 deletion trunk/arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ static unsigned gpmc_irq_start;
static struct resource gpmc_mem_root;
static struct resource gpmc_cs_mem[GPMC_CS_NUM];
static DEFINE_SPINLOCK(gpmc_mem_lock);
static unsigned int gpmc_cs_map; /* flag for cs which are initialized */
/* Define chip-selects as reserved by default until probe completes */
static unsigned int gpmc_cs_map = ((1 << GPMC_CS_NUM) - 1);
static struct device *gpmc_dev;
static int gpmc_irq;
static resource_size_t phys_base, mem_size;
Expand Down Expand Up @@ -1123,6 +1124,9 @@ int gpmc_calc_timings(struct gpmc_timings *gpmc_t,
/* TODO: remove, see function definition */
gpmc_convert_ps_to_ns(gpmc_t);

/* Now the GPMC is initialised, unreserve the chip-selects */
gpmc_cs_map = 0;

return 0;
}

Expand Down

0 comments on commit c6ebb8e

Please sign in to comment.