27 Oct, 2010

29 commits

  • Do not enable this Kconfig menu by default since it contains devices not
    present on the majority of systems.

    This is becoming a pain and a waste of time especially when doing a bunch
    of kernel builds on different systems daily and have to answer "make
    oldconfig" prompts for strange devices.

    Signed-off-by: Borislav Petkov
    Acked-by: Mike Frysinger
    Cc: Michael Hennerich
    Cc: Andres Salomon
    Cc: Jean Delvare
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Borislav Petkov
     
  • Update the driver for the needed runtime power features. Remove the old
    user controlled power functions.

    [akpm@linux-foundation.org: put PM code under CONFIG_PM]
    Signed-off-by: Hong Liu
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hong Liu
     
  • This adds support for the ADPS9802ALS sensor.

    Cleanup by Alan Cox
    - move mutexes to cover more things
    - report I/O errors back to user space
    - report range and values in LUX

    Signed-off-by: Anantha Narayanan
    [The 4K and 64K in the hw spec actually means 4095 (12bit) and 65535 (16bit).]
    Signed-off-by: Hong Liu
    [Updated to match the ALS light API interface convention from Samu]
    Signed-off-by: Alan Cox
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    anantha
     
  • Our Moorestown platform has two max7315 chips which is covered by pca953x
    i2c gpio driver.

    A while ago this driver got updated with nested irq thread support, and it
    broke the compatibity with "request_irq". For example, the gpio_keys.c
    driver can not work with this driver now. This patch fixes the issue by
    switching to generic_handle_irq.

    Also fix the irq_base issue: irq_base == 0 is valid, and a "-1" value
    should mean invalid. IRQ 0 is not a valid IRQ, irq_base of 0 is valid.

    Signed-off-by: Alek Du
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alek Du
     
  • The LS driver will read the latest Lux measurement based upon the light
    brightness and will report the LUX output through sysfs interface.

    This hardware isn't quite the same as the ISL29003 so has a different
    driver.

    [akpm@linux-foundation.org: put PM code under #ifdef CONFIG_PM]
    Signed-off-by: Kalhan Trisal
    [Runtime power management support added]
    Signed-off-by: Arjan van de Ven
    [Fixes to runtime PM]
    Signed-off-by: Liu Hong
    [Cleanups and added checks for I2C errors, reworked the API to match the
    saner one agreed for other sensors]
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kalhan Trisal
     
  • Prefix cname and ctype constants with CN/CT_. This is especially for the
    conflict on BUG which causes a build break if arch defines it as a inline
    function, i.e. MIPS.

    Signed-off-by: Namhyung Kim
    Cc: Ankita Garg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Namhyung Kim
     
  • This is a driver for Avago APDS990X combined ALS and proximity sensor.

    Interface is sysfs based. The driver uses interrupts to provide new data.
    The driver supports pm_runtime and regulator frameworks.

    See Documentation/misc-devices/apds990x.txt for details

    Signed-off-by: Samu Onkalo
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • This is a driver for ROHM BH1770GLC and OSRAM SFH7770 combined ALS and
    proximity sensor.

    Interface is sysfs based. The driver uses interrupts to provide new data.
    The driver supports pm_runtime and regulator frameworks.

    See Documentation/misc-devices/bh1770glc.txt for details

    Signed-off-by: Samu Onkalo
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • The ad5251/ad5252 devices have rdac1 and rdac3, but no rdac0. So make
    sure we use the right channels so userspace gets correct data and not just
    garbage.

    Signed-off-by: steven miao
    Signed-off-by: Mike Frysinger
    Cc: Michael Hennerich
    Cc: Chris Verges
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    steven miao
     
  • Add support for AD5270, AD5271, AD5272, AD5274 digital potentiometers.
    Add 20-TP feature for AD5291 and AD5292 parts, and update feature list.
    AD5291 rdac read back must be shifted by two.

    Signed-off-by: Michael Hennerich
    Cc: Mike Frysinger
    Cc: Chris Verges
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     
  • There is no runtime effect by this change. It frees up namespace for
    defines erroneously used. This is required to actually support devices
    requiring the namespace, added with "drivers/misc/ad525x_dpot.c: new
    features".

    All defines touched have the same value defined, after the change.

    Signed-off-by: Michael Hennerich
    Cc: Mike Frysinger
    Cc: Chris Verges
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     
  • phantom_probe() can fail in many places. Add missing warning messages in
    pci_enable_device() and pci_request_regions().

    Signed-off-by: Rahul Ruikar
    Cc: Jiri Slaby
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rahul Ruikar
     
  • Silly though it is, completions and wait_queue_heads use foo_ONSTACK
    (COMPLETION_INITIALIZER_ONSTACK, DECLARE_COMPLETION_ONSTACK,
    __WAIT_QUEUE_HEAD_INIT_ONSTACK and DECLARE_WAIT_QUEUE_HEAD_ONSTACK) so I
    guess workqueues should do the same thing.

    s/INIT_WORK_ON_STACK/INIT_WORK_ONSTACK/
    s/INIT_DELAYED_WORK_ON_STACK/INIT_DELAYED_WORK_ONSTACK/

    Cc: Peter Zijlstra
    Acked-by: Tejun Heo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Use the new {max,min}3 macros to save some cycles and bytes on the stack.
    This patch substitutes trivial nested macros with their counterpart.

    Signed-off-by: Hagen Paul Pfeifer
    Cc: Joe Perches
    Cc: Ingo Molnar
    Cc: Hartley Sweeten
    Cc: Russell King
    Cc: Benjamin Herrenschmidt
    Cc: Thomas Gleixner
    Cc: Herbert Xu
    Cc: Roland Dreier
    Cc: Sean Hefty
    Cc: Pekka Enberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hagen Paul Pfeifer
     
  • Structure info is copied to userland with some padding fields unitialized.
    It leads to leaking of stack memory.

    [akpm@linux-foundation.org: remove now-unneeded zeroing of info->hi_ireqfreq]
    Signed-off-by: Vasiliy Kulikov
    Cc: Clemens Ladisch
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasiliy Kulikov
     
  • Fix the following style problems:

    WARNING: Use #include instead of
    WARNING: Use #include instead of
    ERROR: code indent should use tabs where possible
    ERROR: do not initialise statics to 0 or NULL

    Signed-off-by: Jaswinder Singh Rajput
    Cc: Clemens Ladisch
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaswinder Singh Rajput
     
  • Jaswinder Singh Rajput wrote:
    > By executing Documentation/timers/hpet_example.c
    >
    > for polling, I requested for 3 iterations but it seems iteration work
    > for only 2 as first expired time is always very small.
    >
    > # ./hpet_example poll /dev/hpet 10 3
    > -hpet: executing poll
    > hpet_poll: info.hi_flags 0x0
    > hpet_poll: expired time = 0x13
    > hpet_poll: revents = 0x1
    > hpet_poll: data 0x1
    > hpet_poll: expired time = 0x1868c
    > hpet_poll: revents = 0x1
    > hpet_poll: data 0x1
    > hpet_poll: expired time = 0x18645
    > hpet_poll: revents = 0x1
    > hpet_poll: data 0x1

    Clearing the HPET interrupt enable bit disables interrupt generation
    but does not disable the timer, so the interrupt status bit will still
    be set when the timer elapses. If another interrupt arrives before
    the timer has been correctly programmed (due to some other device on
    the same interrupt line, or CONFIG_DEBUG_SHIRQ), this results in an
    extra unwanted interrupt event because the status bit is likely to be
    set from comparator matches that happened before the device was opened.

    Therefore, we have to ensure that the interrupt status bit is and
    stays cleared until we actually program the timer.

    Signed-off-by: Clemens Ladisch
    Reported-by: Jaswinder Singh Rajput
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: john stultz
    Cc: Bob Picco
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Clemens Ladisch
     
  • When the initialization code in hpet finds a memory resource and does not
    find an IRQ, it does not unmap the memory resource previously mapped.

    There are buggy BIOSes which report resources exactly like this and what
    is worse the memory region bases point to normal RAM. This normally would
    not matter since the space is not touched. But when PAT is turned on,
    ioremap causes the page to be uncached and sets this bit in page->flags.

    Then when the page is about to be used by the allocator, it is reported
    as:

    BUG: Bad page state in process md5sum pfn:3ed00
    page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0
    page flags: 0x20000001000000(uncached)
    Pid: 7956, comm: md5sum Not tainted 2.6.34-12-desktop #1
    Call Trace:
    [] bad_page+0xb1/0x100
    [] prep_new_page+0x1a5/0x1c0
    [] get_page_from_freelist+0x3a1/0x640
    [] __alloc_pages_nodemask+0x10f/0x6b0
    ...

    In this particular case:

    1) HPET returns 3ed00000 as memory region base, but it is not in
    reserved ranges reported by the BIOS (excerpt):
    BIOS-e820: 0000000000100000 - 00000000af6cf000 (usable)
    BIOS-e820: 00000000af6cf000 - 00000000afdcf000 (reserved)

    2) there is no IRQ resource reported by HPET method. On the other
    hand, the Intel HPET specs (1.0a) says (3.2.5.1):
    _CRS (
    // Report 1K of memory consumed by this Timer Block
    memory range consumed
    // Optional: only used if BIOS allocates Interrupts [1]
    IRQs consumed
    )

    [1] For case where Timer Block is configured to consume IRQ0/IRQ8 AND
    Legacy 8254/Legacy RTC hardware still exists, the device objects
    associated with 8254 & RTC devices should not report IRQ0/IRQ8 as
    "consumed resources".

    So in theory we should check whether if it is the case and use those
    interrupts instead.

    Anyway the address reported by the BIOS here is bogus, so non-presence
    of IRQ doesn't mean the "optional" part in point 2).

    Since I got no reply previously, fix this by simply unmapping the space
    when IRQ is not found and memory region was mapped previously. It would
    be probably more safe to walk the resources again and unmap appropriately
    depending on type. But as we now use only ioremap for both 2 memory
    resource types, it is not necessarily needed right now.

    Addresses https://bugzilla.novell.com/show_bug.cgi?id=629908

    Reported-by: Olaf Hering
    Signed-off-by: Jiri Slaby
    Acked-by: Clemens Ladisch
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • Keep the current interface but ignore the KM_type and use a stack based
    approach.

    The advantage is that we get rid of crappy code like:

    #define __KM_PTE \
    (in_nmi() ? KM_NMI_PTE : \
    in_irq() ? KM_IRQ_PTE : \
    KM_PTE0)

    and in general can stop worrying about what context we're in and what kmap
    slots might be appropriate for that.

    The downside is that FRV kmap_atomic() gets more expensive.

    For now we use a CPP trick suggested by Andrew:

    #define kmap_atomic(page, args...) __kmap_atomic(page)

    to avoid having to touch all kmap_atomic() users in a single patch.

    [ not compiled on:
    - mn10300: the arch doesn't actually build with highmem to begin with ]

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: fix up drivers/gpu/drm/i915/intel_overlay.c]
    Acked-by: Rik van Riel
    Signed-off-by: Peter Zijlstra
    Acked-by: Chris Metcalf
    Cc: David Howells
    Cc: Hugh Dickins
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Steven Rostedt
    Cc: Russell King
    Cc: Ralf Baechle
    Cc: David Miller
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Dave Airlie
    Cc: Li Zefan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • Ensure kmap_atomic() usage is strictly nested

    Signed-off-by: Peter Zijlstra
    Reviewed-by: Rik van Riel
    Acked-by: Chris Metcalf
    Cc: David Howells
    Cc: Hugh Dickins
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Steven Rostedt
    Cc: Russell King
    Cc: Ralf Baechle
    Cc: David Miller
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • For NUMA node systems it is important to have visibility in memory
    characteristics. Two of the /proc/vmstat values "nr_written" and
    "nr_dirtied" are added here.

    # cat /sys/devices/system/node/node20/vmstat
    nr_written 0
    nr_dirtied 0

    Signed-off-by: Michael Rubin
    Reviewed-by: Wu Fengguang
    Cc: Dave Chinner
    Cc: Jens Axboe
    Cc: KOSAKI Motohiro
    Cc: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Rubin
     
  • Unloading ipmi module can trigger following error. (if
    CONFIG_DEBUG_SPINLOCK=y)

    [ 9633.779590] BUG: spinlock bad magic on CPU#1, rmmod/7170
    [ 9633.779606] lock: f41f5414, .magic: 00000000, .owner:
    /-1, .owner_cpu: 0
    [ 9633.779626] Pid: 7170, comm: rmmod Not tainted
    2.6.36-rc7-11474-gb71eb1e-dirty #328
    [ 9633.779644] Call Trace:
    [ 9633.779657] [] ? printk+0x18/0x1c
    [ 9633.779672] [] spin_bug+0xa3/0xf0
    [ 9633.779685] [] do_raw_spin_lock+0x7d/0x160
    [ 9633.779702] [] ? release_sysfs_dirent+0x47/0xb0
    [ 9633.779718] [] ? sysfs_addrm_finish+0xa8/0xd0
    [ 9633.779734] [] _raw_spin_lock_irqsave+0xc/0x20
    [ 9633.779752] [] cleanup_one_si+0x6a/0x200 [ipmi_si]
    [ 9633.779768] [] ? sysfs_hash_and_remove+0x72/0x80
    [ 9633.779786] [] ipmi_pnp_remove+0xd/0xf [ipmi_si]
    [ 9633.779802] [] pnp_device_remove+0x1b/0x40

    Fix this by initializing spinlocks in a smi_info_alloc() helper function,
    right after memory allocation and clearing.

    Signed-off-by: Eric Dumazet
    Acked-by: David Miller
    Cc: Yinghai Lu
    Acked-by: Corey Minyard
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Dumazet
     
  • This is a bug fix. Some SPI connected devices using 16/24 bit accesses,
    previously failed, now work.

    This typo slipped in after testing, during some restructuring.

    Signed-off-by: Michael Hennerich
    Cc: Mike Frysinger
    Cc: Chris Verges
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     
  • …structures have been torn down

    Under some workloads, some channel messages have been observed being
    delayed on the sending side past the point where the receiving side has
    been able to tear down its partition structures.

    This condition is already detected in xpc_handle_activate_IRQ_uv(), but
    that information is not given to xpc_handle_activate_mq_msg_uv(). As a
    result, xpc_handle_activate_mq_msg_uv() assumes the structures still exist
    and references them, causing a NULL-pointer deref.

    Signed-off-by: Robin Holt <holt@sgi.com>
    Cc: <stable@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

    Robin Holt
     
  • * git://git.infradead.org/battery-2.6:
    power_supply: Makefile cleanup
    bq27x00_battery: Add missing kfree(di->bus) in bq27x00_battery_remove()
    power_supply: Introduce maximum current property
    power_supply: Add types for USB chargers
    ds2782_battery: Fix units
    power_supply: Add driver for TWL4030/TPS65950 BCI charger
    bq20z75: Add support for more power supply properties
    wm831x_power: Add missing kfree(wm831x_power) in wm831x_power_remove()
    jz4740-battery: Add missing kfree(jz_battery) in jz_battery_remove()
    ds2760_battery: Add missing kfree(di) in ds2760_battery_remove()
    olpc_battery: Fix endian neutral breakage for s16 values
    ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency
    pcf50633-charger: Add missing sysfs_remove_group()
    power_supply: Add driver for TI BQ20Z75 gas gauge IC
    wm831x_power: Remove duplicate chg mask
    omap: rx51: Add support for USB chargers
    power_supply: Add isp1704 charger detection driver

    Linus Torvalds
     
  • * 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/i7core: (34 commits)
    i7core_edac: return -ENODEV when devices were already probed
    i7core_edac: properly terminate pci_dev_table
    i7core_edac: Avoid PCI refcount to reach zero on successive load/reload
    i7core_edac: Fix refcount error at PCI devices
    i7core_edac: it is safe to i7core_unregister_mci() when mci=NULL
    i7core_edac: Fix an oops at i7core probe
    i7core_edac: Remove unused member channels in i7core_pvt
    i7core_edac: Remove unused arg csrow from get_dimm_config
    i7core_edac: Reduce args of i7core_register_mci
    i7core_edac: Introduce i7core_unregister_mci
    i7core_edac: Use saved pointers
    i7core_edac: Check probe counter in i7core_remove
    i7core_edac: Call pci_dev_put() when alloc_i7core_dev() failed
    i7core_edac: Fix error path of i7core_register_mci
    i7core_edac: Fix order of lines in i7core_register_mci
    i7core_edac: Always do get/put for all devices
    i7core_edac: Introduce i7core_pci_ctl_create/release
    i7core_edac: Introduce free_i7core_dev
    i7core_edac: Introduce alloc_i7core_dev
    i7core_edac: Reduce args of i7core_get_onedevice
    ...

    Linus Torvalds
     
  • * 'for_linus' of git://github.com/at91linux/linux-2.6-at91:
    AT91: rtc: enable built-in RTC in Kconfig for at91sam9g45 family
    at91/atmel-mci: inclusion of sd/mmc driver in at91sam9g45 chip and board
    AT91: pm: make sure that r0 is 0 when dealing with cache operations
    AT91: pm: use plain cpu_do_idle() for "wait for interrupt"
    AT91: reset: extend alternate reset procedure to several chips
    AT91: reset routine cleanup, remove not needed icache flush
    AT91: trivial: align comment of at91sam9g20_reset with one more tab
    AT91: Fix AT91SAM9G20 reset as per the errata in the data sheet
    AT91: add board support for Pcontrol_G20

    Linus Torvalds
     
  • * 'for-linus' of git://gitorious.org/linux-omap-dss2/linux:
    OMAP: DSS2: don't power off a panel twice
    OMAP: DSS2: OMAPFB: Allow usage of def_vrfb only for omap2,3
    OMAP: DSS2: OMAPFB: make VRFB depends on OMAP2,3
    OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB
    arm/omap: simplify conditional
    OMAP: DSS2: DSI: Remove extra iounmap in error path
    OMAP: DSS2: Use dss_features framework on DSS2 code
    OMAP: DSS2: Introduce dss_features files
    video/omap: remove mux.h include
    ARM: omap/fb: move get_fbmem_region() to .init.text
    ARM: omap/fb: move omapfb_reserve_sram to .init.text
    ARM: omap/fb: move omap_init_fb to .init.text
    OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync
    OMAP: DSS2: make filter coefficient tables human readable
    OMAP: DSS2: Add SPI dependency to Kconfig of ACX565AKM panel

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ]: x86, cpufreq: Mark longrun_get_policy with __cpuinit.
    [CPUFREQ] add sampling_down_factor tunable to improve ondemand performance
    [CPUFREQ] arch/x86/kernel/cpu/cpufreq: Fix unsigned return type
    [CPUFREQ] drivers/cpufreq: Adjust confusing if indentation

    Linus Torvalds
     

26 Oct, 2010

11 commits

  • Enable built-in RTC IP in Kconfig and modify comments and help messages.
    RTT as RTC is still available but should not be selected in common case.

    Reported-by: Yegor Yefremov
    Signed-off-by: Nicolas Ferre

    Nicolas Ferre
     
  • This adds the support of atmel-mci sd/mmc driver in at91sam9g45 devices and
    board files. This also configures the DMA controller slave interface for
    at_hdmac dmaengine driver.

    Signed-off-by: Nicolas Ferre

    Nicolas Ferre
     
  • * 'for-next' of git://android.git.kernel.org/kernel/tegra:
    spi: tegra: fix error setting on timeout
    spi: add spi_tegra driver
    tegra: harmony: enable PCI Express
    tegra: add PCI Express support
    tegra: add PCI Express clocks
    [ARM] tegra: Add APB DMA support
    [ARM] tegra: Add cpufreq support
    [ARM] tegra: common: Update common clock init table
    [ARM] tegra: clock: Add dvfs support, bug fixes, and cleanups
    [ARM] tegra: Add support for reading fuses
    [ARM] tegra: gpio: Add suspend and wake support
    [ARM] tegra: pinmux: add safe values, move tegra2, add suspend
    [ARM] tegra: add suspend and mirror irqs to legacy controller
    [ARM] tegra: Add legacy irq support
    [ARM] tegra: update iomap

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin:
    Blackfin: fix inverted anomaly 05000481 logic
    Blackfin: drop unused irq_panic()/DEBUG_ICACHE_CHECK
    Blackfin: ppi/spi/twi headers: add missing __BFP undef
    Blackfin: update defconfigs
    Blackfin: bfin_twi.h: start a common TWI header
    netdev: bfin_mac: push settings to platform resources

    Linus Torvalds
     
  • avoids derefencing an uninitialized pointer

    Change-Id: Icf528441ae481e9f6f5ddc0be32c7c217fa49701
    Signed-off-by: Erik Gilling

    Erik Gilling
     
  • * 'next' of git://git.monstr.eu/linux-2.6-microblaze: (42 commits)
    microblaze: Fix build with make 3.82
    fbdev/xilinxfb: Microblaze driver support
    microblaze: Support C optimized lib functions for little-endian
    microblaze: Separate library optimized functions
    microblaze: Support timer on AXI lite
    microblaze: Add support for little-endian Microblaze
    microblaze: KGDB little endian support
    microblaze: Add PVR for endians plus detection
    net: emaclite: Add support for little-endian platforms
    microblaze: trivial: Add comment for AXI pvr
    microblaze: pci-common cleanup
    microblaze: Support early console on uart16550
    microblaze: Do not compile early console support for uartlite if is disabled
    microblaze: Setup early console dynamically
    microblaze: Rename all uartlite early printk functions
    microblaze: remove early printk uarlite console dependency from header
    microblaze: Remove additional compatible properties
    microblaze: Remove hardcoded asm instraction for PVR loading
    microblaze: Use static const char * const where possible
    microblaze: Define VMALLOC_START/END
    ...

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging: (24 commits)
    hwmon: lis3: Release resources in case of failure
    hwmon: lis3: Short explanations of platform data fields
    hwmon: lis3: Enhance lis3 selftest with IRQ line test
    hwmon: lis3: use block read to access data registers
    hwmon: lis3: Adjust fuzziness for 8 bit device
    hwmon: lis3: New parameters to platform data
    hwmon: lis3: restore axis enabled bits
    hwmon: lis3: Power on corrections
    hwmon: lis3: Update coordinates at polled device open
    hwmon: lis3: Cleanup interrupt handling
    hwmon: lis3: regulator control
    hwmon: lis3: pm_runtime support
    Kirkwood: add fan support for Network Space Max v2
    hwmon: add generic GPIO fan driver
    hwmon: (coretemp) fix reading of microcode revision (v2)
    hwmon: ({core, pkg, via-cpu}temp) remove unnecessary CONFIG_HOTPLUG_CPU ifdefs
    hwmon: (pkgtemp) align driver initialization style with coretemp
    hwmon: LTC4261 Hardware monitoring driver
    hwmon: (lis3) add axes module parameter for custom axis-mapping
    hwmon: (hp_accel) Add HP Mini 510x family support
    ...

    Linus Torvalds
     
  • If lis3lv02d_init_device fails, HW resources were not released
    properly. In case of failure call release_resources if available.

    Signed-off-by: Samu Onkalo
    Acked-by: Eric Piel
    Signed-off-by: Guenter Roeck

    Samu Onkalo
     
  • Configure chip to data ready mode in selftest and count received
    interrupts to see that interrupt line(s) are working.

    Signed-off-by: Samu Onkalo
    Acked-by: Eric Piel
    Signed-off-by: Guenter Roeck

    Samu Onkalo
     
  • Add optional blockread function to interface driver. If available
    the chip driver uses it for data register access. For 12 bit device
    it reads 6 bytes to get 3*16bit data. For 8 bit device it reads out
    5 bytes since every second byte is dummy.
    This optimizes bus usage and reduces number of operations and
    interrupts needed for one data update.

    Signed-off-by: Samu Onkalo
    Acked-by: Jonathan Cameron
    Acked-by: Eric Piel
    Signed-off-by: Guenter Roeck

    Samu Onkalo
     
  • Default fuziness is set smaller for 8 device.
    In 12 bit device LSB is quite close to 1 mg
    (mg = 1 / 1000 of earth gravity).
    In 8bit device LSB is about 18 mg.
    Set fuziness to 1 for 8 bit device.

    Signed-off-by: Samu Onkalo
    Acked-by: Eric Piel
    Signed-off-by: Guenter Roeck

    Samu Onkalo