1. 15 Mar, 2012 1 commit
  2. 13 Mar, 2012 1 commit
    • Mehnert's avatar
      iomux-mx25.h slew rate adjusted for LCD __LD pins · 1dde9f75
      Mehnert authored
      For some reason (sadly i don't identifying the patch right now)
      two LCD data lines configured PAD_CTL_SRE_SLOW (wrong slew rate)
      since Kernel 3.1. MX25_PAD_GPIO_E__LD16 and MX25_PAD_GPIO_F__LD17
      This results in an fauly behaviour and strange color effects.
      
      To ensure that all LCD data pins configured with the proper slew rate,
      this patch changes to IOMUX define of all LCD __LDxx pins to PAD_CTL_SRE_FAST.
      
      This problem may affect other mx25 platforms like mx25pdk. Sadly i can't test
      it. Of course this problem shouldn't occur when you done your LCD muxing
      correctly in the bootloader.
      
      Best regards,
      Torsten
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      1dde9f75
  3. 10 Mar, 2012 1 commit
  4. 08 Mar, 2012 3 commits
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix build for omap4 only builds with missing include of linux/bug.h · 4647ca57
      Tony Lindgren authored
      Found few more with randconfig generated .configs:
      
      In file included from arch/arm/mach-omap2/prm-regbits-34xx.h:17,
                       from arch/arm/mach-omap2/vc.c:18:
      arch/arm/mach-omap2/prm2xxx_3xxx.h: In function ‘omap2_prm_read_mod_reg’:
      arch/arm/mach-omap2/prm2xxx_3xxx.h:239: error: implicit declaration of function ‘WARN’
      
      In file included from arch/arm/mach-omap2/powerdomain44xx.c:22:
      arch/arm/mach-omap2/prm2xxx_3xxx.h: In function ‘omap2_prm_read_mod_reg’:
      arch/arm/mach-omap2/prm2xxx_3xxx.h:239: error: implicit declaration of function ‘WARN’
      
      This is because omap2_prm functions are currently just stubs for
      omap4 only builds.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      4647ca57
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix section warnings for hsmmc_init_one · 6028505c
      Tony Lindgren authored
      Otherwise we can get the following error depending on
      the compiler:
      
      WARNING: arch/arm/mach-omap2/built-in.o(.text+0xafe0):
      Section mismatch in reference from the function omap_hsmmc_init_one()
      to the function .init.text:omap_hsmmc_pdata_init()
      The function omap_hsmmc_init_one() references
      the function __init omap_hsmmc_pdata_init().
      This is often because omap_hsmmc_init_one lacks a __init
      annotation or the annotation of omap_hsmmc_pdata_init is wrong.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      6028505c
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix build issues with missing include of linux/bug.h · d9a5f4dd
      Tony Lindgren authored
      Otherwise we can get the following if bug.h is not included from kernel.h:
      
      arch/arm/mach-omap2/powerdomain-common.c:
      In function 'omap2_pwrdm_get_mem_bank_onstate_mask':
      arch/arm/mach-omap2/powerdomain-common.c:64:3: error:
      implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      d9a5f4dd
  5. 07 Mar, 2012 3 commits
    • Olof Johansson's avatar
      Merge branch 'fixes-non-critical-part2' of... · 269f6a93
      Olof Johansson authored
      Merge branch 'fixes-non-critical-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
      
      * 'fixes-non-critical-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP3+: PM: VP: fix integer truncation error
        ARM: OMAP2+: PM: fix wakeupgen warning when hotplug disabled
        ARM: OMAP2+: PM: fix section mismatch with omap2_init_processor_devices()
        ARM: OMAP2: Fix section warning for n8x0 when CONFIG_MMC_OMAP is not set
        ARM: OMAP2+: Fix omap24xx_io_desc warning if SoC subtypes are not selected
        ARM: OMAP1: Fix section mismatch for omap1_init_early()
        ARM: OMAP1: Fix typo in lcd_dma.c
        ARM: OMAP: mailbox: trivial whitespace fix
        ARM: OMAP: Remove definition cpu_is_omap4430()
        ARM: OMAP2+: included some headers twice
        ARM: OMAP: clock.c: included linux/debugfs.h twice
        ARM: OMAP: don't build hwspinlock in vain
        ARM: OMAP2+: ads7846_init: put gpio_pendown into pdata if it's provided
        ARM: omap: pandora: fix usbhs platform data
        ARM: OMAP: sram: Add am33xx SRAM support (minimal)
        ARM: OMAP2+: id: Add am33xx SoC type detection
        ARM: OMAP2+: GPMC: Export gpmc_enable_hwecc and gpmc_calculate_ecc
        ARM: OMAP: dmtimer: fix missing content/correction in low-power mode support
      269f6a93
    • Olof Johansson's avatar
      Merge branch 'fixes-non-critical' of... · 412fe6b3
      Olof Johansson authored
      Merge branch 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
      
      * 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        Revert "ARM: OMAP2+: Fix multiple randconfig errors with SOC_OMAP and SOC_OMAP_NOOP"
      412fe6b3
    • Yuan Jiangli's avatar
      ARM: OMAP3+: PM: VP: fix integer truncation error · 3223d007
      Yuan Jiangli authored
      commit 2f34ce81
      (OMAP3: PM: Adding voltage driver support.)
      introduced runtime computation of waittime to handle all potential
      sys clocks available.
      
      In the voltage processor, the SPMSUpdateWait is calculated based on
      the slew rate and the voltage step (SMPSUpdateWait = slew rate *
      Voltage Step). After the voltage processor receives the SMPS_Ack
      signal, the Voltage Controller will wait for SMPSUpdateWait clock
      cycles for the voltage to settle to the new value. For all
      practical purposes, the waittime parameter is the OMAP hardware
      translation of what the slew rate on the PMIC is.
      
      As an example, with TPS62361 on OMAP4460,
      step_size = 10000
      slew_rate = 32000
      sys_clk_rate = 38400
      
      Our current computation results in the following:
       = ((step_size / slew_rate) * sys_clk_rate) / 1000
       = ((10000 / 32000) * 38400 / 1000
       = 0
      
      Fix the same using DIV_ROUND_UP as an extra wait clock cycle
      is better than lesser clock cycle. For the above example, this
      translates to:
       = (10000 * 38400) / (1000 * 32000)
       = 12
      Acked-by: default avatarJon Hunter <jon-hunter@ti.com>
      [nm@ti.com: slightly better implementation]
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Signed-off-by: default avatarYuan Jiangli <jlyuan@motorola.com>
      Acked-by: default avatarKevin Hilman <khilman@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3223d007
  6. 06 Mar, 2012 19 commits
  7. 04 Mar, 2012 3 commits
  8. 03 Mar, 2012 3 commits
  9. 02 Mar, 2012 6 commits
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 62d222b8
      Linus Torvalds authored
      hhwmon fixes for 3.3-rc6 from Guenter Roeck:
      
      These patches are necessary for correct operation and management of
      F75387.
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (f75375s) Catch some attempts to write to r/o registers
        hwmon: (f75375s) Properly map the F75387 automatic modes to pwm_enable
        hwmon: (f75375s) Make pwm*_mode writable for the F75387
        hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387
      62d222b8
    • Linus Torvalds's avatar
      Merge tag 'fbdev-fixes-for-3.3-2' of git://github.com/schandinat/linux-2.6 · d085a09c
      Linus Torvalds authored
      fbdev fixes for 3.3 from Florian Tobias Schandinat
      
      It includes:
       - two fixes for OMAP HDMI
       - one fix to make new OMAP functions behave as they are supposed to
       - one Kconfig dependency fix
       - two fixes for viafb for modesetting on VX900 hardware
      
      * tag 'fbdev-fixes-for-3.3-2' of git://github.com/schandinat/linux-2.6:
        OMAPDSS: APPLY: make ovl_enable/disable synchronous
        OMAPDSS: panel-dvi: Add Kconfig dependency on I2C
        viafb: fix IGA1 modesetting on VX900
        viafb: select HW scaling on VX900 for IGA2
        OMAPDSS: HDMI: hot plug detect fix
        OMAPDSS: HACK: Ensure DSS clock domain gets out of idle when HDMI is enabled
      d085a09c
    • Linus Torvalds's avatar
      Merge tag 'sound-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 5e8063d7
      Linus Torvalds authored
      sound fixes for 3.3-rc6 from Takashi Iwai
      
      This contains again regression fixes for various HD-audio and ASoC
      regarding SSI and dapm shutdown path.  In addition, a minor azt3328
      fix and the correction of the new jack-notification strings in HD-audio.
      
      * tag 'sound-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Kill hyphenated names
        ALSA: hda - Add a fake mute feature
        ALSA: hda - Always set HP pin in unsol handler for STAC/IDT codecs
        ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3
        ALSA: hda/realtek - Fix resume of multiple input sources
        ASoC: i.MX SSI: Fix DSP_A format.
        ASoC: dapm: Check for bias level when powering down
      5e8063d7
    • Linus Torvalds's avatar
      vfs: split up name hashing in link_path_walk() into helper function · 200e9ef7
      Linus Torvalds authored
      The code in link_path_walk() that finds out the length and the hash of
      the next path component is some of the hottest code in the kernel.  And
      I have a version of it that does things at the full width of the CPU
      wordsize at a time, but that means that we *really* want to split it up
      into a separate helper function.
      
      So this re-organizes the code a bit and splits the hashing part into a
      helper function called "hash_name()".  It returns the length of the
      pathname component, while at the same time computing and writing the
      hash to the appropriate location.
      
      The code generation is slightly changed by this patch, but generally for
      the better - and the added abstraction actually makes the code easier to
      read too.  And the new interface is well suited for replacing just the
      "hash_name()" function with alternative implementations.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      200e9ef7
    • Linus Torvalds's avatar
      vfs: clarify and clean up dentry_cmp() · 5707c87f
      Linus Torvalds authored
      It did some odd things for unclear reasons.  As this is one of the
      functions that gets changed when doing word-at-a-time compares, this is
      yet another of the "don't change any semantics, but clean things up so
      that subsequent patches don't get obscured by the cleanups".
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5707c87f
    • Linus Torvalds's avatar
      vfs: uninline full_name_hash() · 0145acc2
      Linus Torvalds authored
      .. and also use it in lookup_one_len() rather than open-coding it.
      
      There aren't any performance-critical users, so inlining it is silly.
      But it wouldn't matter if it wasn't for the fact that the word-at-a-time
      dentry name patches want to conditionally replace the function, and
      uninlining it sets the stage for that.
      
      So again, this is a preparatory patch that doesn't change any semantics,
      and only prepares for a much cleaner and testable word-at-a-time dentry
      name accessor patch.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0145acc2