Skip to content
  1. Apr 14, 2010
    • Jean Delvare's avatar
      hwmon: (it87) Properly handle wrong sensor type requests · 8acf07c5
      Jean Delvare authored
      
      
      Currently, if someone tries to set the thermal sensor type to an
      unsupported value, subsequent accesses to the chip may temporarily
      show the sensor in question as disabled. Use a temporary variable
      and only update the cached value on success, to prevent such
      confusion.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      8acf07c5
    • Jean Delvare's avatar
      hwmon: (it87) Don't arbitrarily enable temperature channels · a00afb97
      Jean Delvare authored
      
      
      Temperature channels can be used in 2 different modes (thermistor and
      thermal diode) and we don't know which one, if any, is correct for
      every given board. So don't arbitrarily choose one. Instead, leave the
      temperature channels untouched. They can be configured from user-space
      if needed anyway.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      a00afb97
    • Jean Delvare's avatar
      hwmon: (sht15) Properly handle the case CONFIG_REGULATOR=n · c7a78d2c
      Jean Delvare authored
      
      
      When CONFIG_REGULATOR isn't set, regulator_get_voltage() returns 0.
      Properly handle this case by not trusting the value.
      
      Reported-by: default avatarJerome Oufella <jerome.oufella@savoirfairelinux.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@kernel.org
      c7a78d2c
    • Jerome Oufella's avatar
      hwmon: (sht15) Fix sht15_calc_temp interpolation function · 328a2c22
      Jerome Oufella authored
      
      
      I discovered two issues.
      First the previous sht15_calc_temp() loop did not iterate through the
      temppoints array since the (data->supply_uV > temppoints[i - 1].vdd)
      test is always true in this direction.
      
      Also the two-points linear interpolation function was returning biased
      values due to a stray division by 1000 which shouldn't be there.
      
      [JD: Also change the default value for d1 from 0 to something saner.]
      
      Signed-off-by: default avatarJerome Oufella <jerome.oufella@savoirfairelinux.com>
      Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      328a2c22
    • Linus Torvalds's avatar
      Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · 2ba3abd8
      Linus Torvalds authored
      * 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM / Hibernate: user.c, fix SNAPSHOT_SET_SWAP_AREA handling
      2ba3abd8
    • Linus Torvalds's avatar
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 0fdfe5ad
      Linus Torvalds authored
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        NFSv4: fix delegated locking
        NFS: Ensure that the WRITE and COMMIT RPC calls are always uninterruptible
        NFS: Fix a race with the new commit code
        NFS: Ensure that writeback_single_inode() calls write_inode() when syncing
        NFS: Fix the mode calculation in nfs_find_open_context
        NFSv4: Fall back to ordinary lookup if nfs4_atomic_open() returns EISDIR
      0fdfe5ad
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 44d2d371
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc64: Add some more commentary to __raw_local_irq_save()
        sparc64: Fix memory leak in pci_register_iommu_region().
        sparc64: Add kmemleak annotation to sun4v_build_virq()
        sparc64: Support kmemleak.
        sparc64: Add function graph tracer support.
        sparc64: Give a stack frame to the ftrace call sites.
        sparc64: Use a seperate counter for timer interrupts and NMI checks, like x86.
        sparc64: Remove profiling from some low-level bits.
        sparc64: Kill unnecessary static on local var in ftrace_call_replace().
        sparc64: Kill CONFIG_STACK_DEBUG code.
        sparc64: Add HAVE_FUNCTION_TRACE_MCOUNT_TEST and tidy up.
        sparc64: Adjust __raw_local_irq_save() to cooperate in NMIs.
        sparc64: Use kstack_valid() in die_if_kernel().
      44d2d371
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 465de2ba
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (25 commits)
        smc91c92_cs: define multicast_table as unsigned char
        can: avoids a false warning
        e1000e: stop cleaning when we reach tx_ring->next_to_use
        igb: restrict WoL for 82576 ET2 Quad Port Server Adapter
        virtio_net: missing sg_init_table
        Revert "tcp: Set CHECKSUM_UNNECESSARY in tcp_init_nondata_skb"
        iwlwifi: need check for valid qos packet before free
        tcp: Set CHECKSUM_UNNECESSARY in tcp_init_nondata_skb
        udp: fix for unicast RX path optimization
        myri10ge: fix rx_pause in myri10ge_set_pauseparam
        net: corrected documentation for hardware time stamping
        stmmac: use resource_size()
        x.25 attempts to negotiate invalid throughput
        x25: Patch to fix bug 15678 - x25 accesses fields beyond end of packet.
        bridge: Fix IGMP3 report parsing
        cnic: Fix crash during bnx2x MTU change.
        qlcnic: fix set mac addr
        r6040: fix r6040_multicast_list
        vhost-net: fix vq_memory_access_ok error checking
        ath9k: fix double calls to ath_radio_enable
        ...
      465de2ba
  2. Apr 13, 2010