Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65d9055e authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
  ALSA: AACI: allow writes to MAINCR to take effect
  ARM: Update mach-types
  ARM: 6652/1: ep93xx: correct the end address of the AC97 memory resource
  ARM: mxs/imx28: remove now unused clock lookup "fec.0"
  ARM: mxs: fix clock base address missing
  ARM: mxs: acknowledge gpio irq
  ARM: mach-imx/mach-mx25_3ds: Fix section type
  ARM: imx: Add VPR200 and MX51_3DS entries to uncompress.h
  ARM i.MX23: use correct register for setting the rate
  ARM i.MX23/28: remove secondary field from struct clk. It's unused
  ARM i.MX28: use correct register for setting the rate
  ARM i.MX28: fix bit operation
parents cb5520f0 1f63b954
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -838,7 +838,7 @@ EXPORT_SYMBOL(ep93xx_i2s_release);
static struct resource ep93xx_ac97_resources[] = {
static struct resource ep93xx_ac97_resources[] = {
	{
	{
		.start	= EP93XX_AAC_PHYS_BASE,
		.start	= EP93XX_AAC_PHYS_BASE,
		.end	= EP93XX_AAC_PHYS_BASE + 0xb0 - 1,
		.end	= EP93XX_AAC_PHYS_BASE + 0xac - 1,
		.flags	= IORESOURCE_MEM,
		.flags	= IORESOURCE_MEM,
	},
	},
	{
	{
+1 −1
Original line number Original line Diff line number Diff line
@@ -180,7 +180,7 @@ static const uint32_t mx25pdk_keymap[] = {
	KEY(3, 3, KEY_POWER),
	KEY(3, 3, KEY_POWER),
};
};


static const struct matrix_keymap_data mx25pdk_keymap_data __initdata = {
static const struct matrix_keymap_data mx25pdk_keymap_data __initconst = {
	.keymap		= mx25pdk_keymap,
	.keymap		= mx25pdk_keymap,
	.keymap_size	= ARRAY_SIZE(mx25pdk_keymap),
	.keymap_size	= ARRAY_SIZE(mx25pdk_keymap),
};
};
+2 −2
Original line number Original line Diff line number Diff line
@@ -304,7 +304,7 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
	reg = __raw_readl(CLKCTRL_BASE_ADDR + HW_CLKCTRL_##dr);		\
	reg = __raw_readl(CLKCTRL_BASE_ADDR + HW_CLKCTRL_##dr);		\
	reg &= ~BM_CLKCTRL_##dr##_DIV;					\
	reg &= ~BM_CLKCTRL_##dr##_DIV;					\
	reg |= div << BP_CLKCTRL_##dr##_DIV;				\
	reg |= div << BP_CLKCTRL_##dr##_DIV;				\
	if (reg | (1 << clk->enable_shift)) {				\
	if (reg & (1 << clk->enable_shift)) {				\
		pr_err("%s: clock is gated\n", __func__);		\
		pr_err("%s: clock is gated\n", __func__);		\
		return -EINVAL;						\
		return -EINVAL;						\
	}								\
	}								\
@@ -347,7 +347,7 @@ static int name##_set_parent(struct clk *clk, struct clk *parent) \
{									\
{									\
	if (parent != clk->parent) {					\
	if (parent != clk->parent) {					\
		__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit,		\
		__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit,		\
			 HW_CLKCTRL_CLKSEQ_TOG);			\
			 CLKCTRL_BASE_ADDR + HW_CLKCTRL_CLKSEQ_TOG);	\
		clk->parent = parent;					\
		clk->parent = parent;					\
	}								\
	}								\
									\
									\
+3 −4
Original line number Original line Diff line number Diff line
@@ -355,12 +355,12 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
	} else {							\
	} else {							\
		reg &= ~BM_CLKCTRL_##dr##_DIV;				\
		reg &= ~BM_CLKCTRL_##dr##_DIV;				\
		reg |= div << BP_CLKCTRL_##dr##_DIV;			\
		reg |= div << BP_CLKCTRL_##dr##_DIV;			\
		if (reg | (1 << clk->enable_shift)) {			\
		if (reg & (1 << clk->enable_shift)) {			\
			pr_err("%s: clock is gated\n", __func__);	\
			pr_err("%s: clock is gated\n", __func__);	\
			return -EINVAL;					\
			return -EINVAL;					\
		}							\
		}							\
	}								\
	}								\
	__raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_CPU);		\
	__raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_##dr);		\
									\
									\
	for (i = 10000; i; i--)						\
	for (i = 10000; i; i--)						\
		if (!(__raw_readl(CLKCTRL_BASE_ADDR +			\
		if (!(__raw_readl(CLKCTRL_BASE_ADDR +			\
@@ -483,7 +483,7 @@ static int name##_set_parent(struct clk *clk, struct clk *parent) \
{									\
{									\
	if (parent != clk->parent) {					\
	if (parent != clk->parent) {					\
		__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit,		\
		__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit,		\
			 HW_CLKCTRL_CLKSEQ_TOG);			\
			 CLKCTRL_BASE_ADDR + HW_CLKCTRL_CLKSEQ_TOG);	\
		clk->parent = parent;					\
		clk->parent = parent;					\
	}								\
	}								\
									\
									\
@@ -609,7 +609,6 @@ static struct clk_lookup lookups[] = {
	_REGISTER_CLOCK("duart", NULL, uart_clk)
	_REGISTER_CLOCK("duart", NULL, uart_clk)
	_REGISTER_CLOCK("imx28-fec.0", NULL, fec_clk)
	_REGISTER_CLOCK("imx28-fec.0", NULL, fec_clk)
	_REGISTER_CLOCK("imx28-fec.1", NULL, fec_clk)
	_REGISTER_CLOCK("imx28-fec.1", NULL, fec_clk)
	_REGISTER_CLOCK("fec.0", NULL, fec_clk)
	_REGISTER_CLOCK("rtc", NULL, rtc_clk)
	_REGISTER_CLOCK("rtc", NULL, rtc_clk)
	_REGISTER_CLOCK("pll2", NULL, pll2_clk)
	_REGISTER_CLOCK("pll2", NULL, pll2_clk)
	_REGISTER_CLOCK(NULL, "hclk", hbus_clk)
	_REGISTER_CLOCK(NULL, "hclk", hbus_clk)
+0 −2
Original line number Original line Diff line number Diff line
@@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk)
		if (clk->disable)
		if (clk->disable)
			clk->disable(clk);
			clk->disable(clk);
		__clk_disable(clk->parent);
		__clk_disable(clk->parent);
		__clk_disable(clk->secondary);
	}
	}
}
}


@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk)


	if (clk->usecount++ == 0) {
	if (clk->usecount++ == 0) {
		__clk_enable(clk->parent);
		__clk_enable(clk->parent);
		__clk_enable(clk->secondary);


		if (clk->enable)
		if (clk->enable)
			clk->enable(clk);
			clk->enable(clk);
Loading