10 Sep, 2007

3 commits

  • This fixes a bug in the way i2c-algo-bit handles I2C_M_RECV_LEN,
    used to implement i2c_smbus_read_block_data(). Previously, in the
    absence of PEC (rarely used!) it would NAK the "length" byte:

    S addr Rd [A] [length] NA

    That prevents the subsequent data bytes from being read:

    S addr Rd [A] [length] { A [data] }* NA

    The primary fix just reorders two code blocks, so the length used
    in the "should I NAK now?" check incorporates the data which it
    just read from the slave device.

    However, that move also highlighted other fault handling glitches.
    This fixes those by abstracting the RX path ack/nak logic, so it
    can be used in more than one location. Also, a few CodingStyle
    issues were also resolved.

    Signed-off-by: David Brownell
    Signed-off-by: Jean Delvare

    David Brownell
     
  • It turns out that platform_device.id is a "u32" so testing it for being
    nonnegative is useless when setting up an i2c adapte. Instead,
    do what the platform_bus code does and test it against the value "-1".

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • It turns out that platform_device.id is a "u32" so testing it for being
    nonnegative is useless when setting up an i2c bitbang device. Instead,
    do what the platform_bus code does and test it against the value "-1".

    Signed-off-by: David Brownell
    Acked-by: Atsushi Nemoto
    Signed-off-by: Jean Delvare

    David Brownell
     

31 Aug, 2007

1 commit

  • We find that SB700 and SB800 use the same SMBus device ID as SB600, which is
    0x4385, instead of the already submitted 0x4395.

    Besides removing the wrong SB700 device ID, add SB800 support to kernel, by
    renaming the PCI_DEVICE_ID_ATI_IXP600_SMBUS into
    PCI_DEVICE_ID_ATI_SBX00_SMBUS.

    Signed-off-by: Shane Huang
    Signed-off-by: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shane Huang
     

15 Aug, 2007

8 commits


30 Jul, 2007

1 commit


29 Jul, 2007

1 commit

  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
    Input Serio: Blackfin doesnt support I8042 - make sure it doesnt get selected
    Blackfin arch: add BF54x I2C/TWI TWI0 driver support
    Blackfin On-Chip RTC driver update for supporting BF54x
    Blackfin Ethernet MAC driver: fix bug Report returned -ENOMEM upwards (in case L1/uncached memory alloc fails)
    Blackfin arch: add error message when IRQ no available
    Blackfin arch: Initialize the exception vectors early in the boot process
    Blackfin arch: fix a compiling warning about dma-mapping
    Blackfin arch: switch to using proper defines this time THREAD_SIZE and PAGE_SIZE instead of just PAGE_SIZE everywhere
    Blackfin arch: fix bug which unaligns the init thread's stack and causes the current macro to fail.
    Blackfin arch: Load P0 before storing through it
    Blackfin arch: fix KGDB bug, dont forget last parameter.
    Blackfin arch: add selections for BF544 and BF542
    Blackfin arch: use bfin_read_SWRST() now that BF561 provides it
    Blackfin arch: setup aliases for some core Core A MMRs

    Linus Torvalds
     

27 Jul, 2007

1 commit

  • ia64:

    drivers/i2c/chips/ds1682.c: In function `ds1682_show':
    drivers/i2c/chips/ds1682.c:78: warning: long long unsigned int format, long unsigned int arg (arg 3)
    drivers/i2c/chips/ds1682.c:78: warning: long long unsigned int format, long unsigned int arg (arg 3)

    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

25 Jul, 2007

1 commit


20 Jul, 2007

2 commits

  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6: (44 commits)
    i2c: Delete the i2c-isa pseudo bus driver
    hwmon: refuse to load abituguru driver on non-Abit boards
    hwmon: fix Abit Uguru3 driver detection on some motherboards
    hwmon/w83627ehf: Be quiet when no chip is found
    hwmon/w83627ehf: No need to initialize fan_min
    hwmon/w83627ehf: Export the thermal sensor types
    hwmon/w83627ehf: Enable VBAT monitoring
    hwmon/w83627ehf: Add support for the VID inputs
    hwmon/w83627ehf: Fix timing issues
    hwmon/w83627ehf: Add error messages for two error cases
    hwmon/w83627ehf: Convert to a platform driver
    hwmon/w83627ehf: Update the Kconfig entry
    make coretemp_device_remove() static
    hwmon: Add LM93 support
    hwmon: Improve the pwmN_enable documentation
    hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM
    hwmon: Add support for newer uGuru's
    hwmon/f71805f: Add temperature-tracking fan control mode
    hwmon/w83627ehf: Preserve speed reading when changing fan min
    hwmon: fix detection of abituguru volt inputs
    ...

    Manual fixup of trivial conflict in MAINTAINERS file

    Linus Torvalds
     
  • There are no users of i2c-isa left, so we can finally get rid of it.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

18 Jul, 2007

2 commits

  • Add Texas Instruments TWL92330/Menelaus Power Management chip driver. This
    includes voltage regulators, Dual slot memory card tranceivers and
    real-time clock(RTC).

    The support for RTC is integrated with this driver only; it is not separate
    module. Passes 'rtctest' on OMAP H4 EVM, other than lack of "periodic"
    (1/N second) IRQs. System wakeup alarms (from suspend-to-RAM) work too.

    The battery keeps the RTC active over power off, so once you set clock
    (rdate/ntpdate/etc, then "hwclock -w") then RTC_HCTOSYS at boot time will
    behave as expected.

    Cc: "Jean Delvare"
    Cc: "Tony Lindgren"
    Cc: "David Brownell"
    Signed-off-by: Trilok Soni
    Acked-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tony Lindgren
     
  • Signed-off-by: Yoann Padioleau
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yoann Padioleau
     

16 Jul, 2007

2 commits

  • It depends on tristate I2C and it's trivial to make modular. The
    current Kconfig allows I2C=m, I2C_ACORN=y, which doesn't work at
    all; alternatives are dependency on I2C=y and making I2C_ACORN
    itself a tristate. The latter is the right thing to do...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds
    Acked-by: Russell King

    Al Viro
     
  • Fallout from commit 91a6902958f052358899f58683d44e36228d85c2 ('sysfs:
    add parameter "struct bin_attribute *" ...')

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

13 Jul, 2007

2 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (34 commits)
    PCI: Only build PCI syscalls on architectures that want them
    PCI: limit pci_get_bus_and_slot to domain 0
    PCI: hotplug: acpiphp: avoid acpiphp "cannot get bridge info" PCI hotplug failure
    PCI: hotplug: acpiphp: remove hot plug parameter write to PCI host bridge
    PCI: hotplug: acpiphp: fix slot poweroff problem on systems without _PS3
    PCI: hotplug: pciehp: wait for 1 second after power off slot
    PCI: pci_set_power_state(): check for PM capabilities earlier
    PCI: cpci_hotplug: Convert to use the kthread API
    PCI: add pci_try_set_mwi
    PCI: pcie: remove SPIN_LOCK_UNLOCKED
    PCI: ROUND_UP macro cleanup in drivers/pci
    PCI: remove pci_dac_dma_... APIs
    PCI: pci-x-pci-express-read-control-interfaces cleanups
    PCI: Fix typo in include/linux/pci.h
    PCI: pci_ids, remove double or more empty lines
    PCI: pci_ids, add atheros and 3com_2 vendors
    PCI: pci_ids, reorder some entries
    PCI: i386: traps, change VENDOR to DEVICE
    PCI: ATM: lanai, change VENDOR to DEVICE
    PCI: Change all drivers to use pci_device->revision
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (61 commits)
    sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes
    sysfs: make directory dentries and inodes reclaimable
    sysfs: implement sysfs_get_dentry()
    sysfs: move sysfs_drop_dentry() to dir.c and make it static
    sysfs: restructure add/remove paths and fix inode update
    sysfs: use sysfs_mutex to protect the sysfs_dirent tree
    sysfs: consolidate sysfs spinlocks
    sysfs: make kobj point to sysfs_dirent instead of dentry
    sysfs: implement sysfs_find_dirent() and sysfs_get_dirent()
    sysfs: implement SYSFS_FLAG_REMOVED flag
    sysfs: rename sysfs_dirent->s_type to s_flags and make room for flags
    sysfs: make sysfs_drop_dentry() access inodes using ilookup()
    sysfs: Fix oops in sysfs_drop_dentry on x86_64
    sysfs: use singly-linked list for sysfs_dirent tree
    sysfs: slim down sysfs_dirent->s_active
    sysfs: move s_active functions to fs/sysfs/dir.c
    sysfs: fix root sysfs_dirent -> root dentry association
    sysfs: use iget_locked() instead of new_inode()
    sysfs: reorganize sysfs_new_indoe() and sysfs_create()
    sysfs: fix parent refcounting during rename and move
    ...

    Linus Torvalds
     

12 Jul, 2007

16 commits