1. 04 3月, 2011 3 次提交
    • L
      ARM: S3C2440: Fix usage gpio bank j pin definitions on GTA02 · 6a53048d
      Lars-Peter Clausen 提交于
      The gta02 header file still uses the old S3C2410_GPJx defines instead of the
      S3C2410_GPJ(x) macro. Since the S3C2410_GPJx defines have already been removed
      this causes the following build failure:
      
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_set_spk':
      	sound/soc/samsung/neo1973_wm8753.c:259: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c:259: error: (Each undeclared identifier is reported only once
      	sound/soc/samsung/neo1973_wm8753.c:259: error: for each function it appears in.)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_get_spk':
      	sound/soc/samsung/neo1973_wm8753.c:267: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_event':
      	sound/soc/samsung/neo1973_wm8753.c:276: error: 'S3C2440_GPJ1' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: At top level:
      	sound/soc/samsung/neo1973_wm8753.c:439: error: 'S3C2440_GPJ2' undeclared here (not in a function)
      	sound/soc/samsung/neo1973_wm8753.c:440: error: 'S3C2440_GPJ1' undeclared here (not in a function)
      
      This patches fixes the issue by doing a s,S3C2410_GPJ([\d]+),S3C2410_GPJ(\1),g
      on the file.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      6a53048d
    • B
      ARM: S5P64X0: Fix number of GPIO lines in Bank F · f33f3149
      Banajit Goswami 提交于
      This patch modifies the number of total GPIO lines for Bank F
      for Samsung S5P6440 and S5P6450 SoCs from 2 to 16.
      This is necessary as the GPIO lines from 0 to 13 are reserved
      and only lines 14 and 15 are used. As during initialization,
      the line number starts at 0, putting 2 does not solve the
      intended purpose.
      Signed-off-by: NBanajit Goswami <banajit.g@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      f33f3149
    • L
      ARM: S3C2440: Select missing S3C_DEV_USB_HOST on GTA02 · 8c00ae98
      Lars-Peter Clausen 提交于
      The gta02 mach file references the ohci device.
      So we need to select S3C_DEV_USB_HOST to have the device available.
      
      This fixes the following linker errors:
      	arch/arm/mach-s3c2440/built-in.o: In function 'gta02_machine_init':
      	mach-gta02.c:(.init.text+0x370): undefined reference to 's3c_ohci_set_platdata'
      	arch/arm/mach-s3c2440/built-in.o:(.init.data+0xac): undefined reference to 's3c_device_ohci'
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      8c00ae98
  2. 28 2月, 2011 1 次提交
    • D
      x86: Use u32 instead of long to set reset vector back to 0 · 299c5696
      Don Zickus 提交于
      A customer of ours, complained that when setting the reset
      vector back to 0, it trashed other data and hung their box.
      They noticed when only 4 bytes were set to 0 instead of 8,
      everything worked correctly.
      
      Mathew pointed out:
      
       |
       | We're supposed to be resetting trampoline_phys_low and
       | trampoline_phys_high here, which are two 16-bit values.
       | Writing 64 bits is definitely going to overwrite space
       | that we're not supposed to be touching.
       |
      
      So limit the area modified to u32.
      Signed-off-by: NDon Zickus <dzickus@redhat.com>
      Acked-by: NMatthew Garrett <mjg@redhat.com>
      Cc: <stable@kernel.org>
      LKML-Reference: <1297139100-424-1-git-send-email-dzickus@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      299c5696
  3. 26 2月, 2011 1 次提交
    • S
      omap4: prcm: Fix the CPUx clockdomain offsets · 51c404b2
      Santosh Shilimkar 提交于
      CPU0 and CPU1 clockdomain is at the offset of 0x18 from the LPRM base.
      The header file has set it wrongly to 0x0. Offset 0x0 is for CPUx power
      domain control register
      
      Fix the same.
      
      The autogen scripts is fixed thanks to Benoit Cousson
      
      With the old value, the clockdomain code would access the
      *_PWRSTCTRL.POWERSTATE field when it thought it was accessing the
      *_CLKSTCTRL.CLKTRCTRL field.  In the worst case, this could cause
      system power management to behave incorrectly.
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      [paul@pwsan.com: added second paragraph to commit message]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      51c404b2
  4. 25 2月, 2011 2 次提交
  5. 24 2月, 2011 2 次提交
  6. 23 2月, 2011 1 次提交
    • J
      OMAP2/3: clock: fix fint calculation for DPLL_FREQSEL · ea68c00e
      John Ogness 提交于
      In OMAP35X TRM Rev 2010-05 Figure 7-18 "DPLL With EMI Reduction
      Feature", it is shown that the internal frequency is calculated by
      CLK_IN/(N+1). However, the value passed to _dpll_test_fint() is
      already "N+1" since Linux is using the values to divide by. In the
      technical reference manual, "N" is referring to the divider's register
      value (0-127).
      
      During power management testing, it was observed that programming the
      wrong jitter correction value can cause the system to become unstable
      and eventually crash.
      Signed-off-by: NJohn Ogness <john.ogness@linutronix.de>
      [paul@pwsan.com: added second paragraph to commit message]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      ea68c00e
  7. 22 2月, 2011 11 次提交
  8. 21 2月, 2011 1 次提交
  9. 19 2月, 2011 6 次提交
  10. 18 2月, 2011 3 次提交
  11. 17 2月, 2011 9 次提交