1. 05 Jan, 2007 2 commits
    • Philippe De Muyter's avatar
      i2c/m41t00: Do not forget to write year · 81ffbc04
      Philippe De Muyter authored
      m41t00.c forgets to set the year field in set_rtc_time; fix that.
      Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Acked-by: default avatarMark A. Greer <mgreer@mvista.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      81ffbc04
    • Maxime Bizon's avatar
      i2c-mv64xxx: Fix random oops at boot · 3269bb63
      Maxime Bizon authored
      I have a Marvell board which has the same i2c hw block than mv64xxx, so
      I'm trying to use i2c-mv64xxx driver.
      
      But I get the following random oops at boot:
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000002
      Backtrace: 
      [<c0397e4c>] (mv64xxx_i2c_intr+0x0/0x2b8) from [<c02879c4>] (__do_irq+0x4c/0x8c)
      [<c0287978>] (__do_irq+0x0/0x8c) from [<c0287c0c>] (do_level_IRQ+0x68/0xc0)
       r8 = C0501E08  r7 = 00000005  r6 = C0501E08  r5 = 00000005
       r4 = C048BB78 
      [<c0287ba4>] (do_level_IRQ+0x0/0xc0) from [<c02885f8>] (asm_do_IRQ+0x50/0x134)
       r6 = C0449C78  r5 = F1020000  r4 = FFFFFFFF 
      [<c02885a8>] (asm_do_IRQ+0x0/0x134) from [<c02869c4>] (__irq_svc+0x24/0x100)
       r8 = C1CAC400  r7 = 00000005  r6 = 00000002  r5 = F1020000
       r4 = FFFFFFFF 
      [<c0287efc>] (setup_irq+0x0/0x124) from [<c02880d0>] (request_irq+0xb0/0xd0)
       r7 = C041B2AC  r6 = C0397E4C  r5 = 00000000  r4 = 00000005
      [<c0288020>] (request_irq+0x0/0xd0) from [<c03985f4>] (mv64xxx_i2c_probe+0x148/0x244)
      [<c03984ac>] (mv64xxx_i2c_probe+0x0/0x244) from [<c038bedc>] (platform_drv_probe+0x20/0x24)
      
      
      The oops is caused by a spurious interrupt that occurs when request_irq
      is called. mv64xxx_i2c_fsm() tries to read drv_data->msg, which is NULL.
      
      I noticed that hardware init is done after requesting irq. Thus any
      pending irq from previous hardware usage may cause this.
      
      The following patch fixes it:
      Signed-off-by: default avatarMaxime Bizon <mbizon@freebox.fr>
      Acked-by: default avatarMark A. Greer <mgreer@mvista.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      3269bb63
  2. 04 Jan, 2007 7 commits
    • David Brownell's avatar
      i2c: Migration aids for i2c_adapter.dev removal · b119dc3f
      David Brownell authored
      Flag i2c_adapter.dev for removal after userspace tools get upgraded, and
      include a near-term code migration aid to facilitate this:
      
       - The class device gets the name attribute it should have had.  This
         was previously (wrongly) associated with the i2c_adapter.dev node.
         Sysfs based tools and libraries can start converting right away.
      
       - Issue a warning for legacy adapter drivers that don't provide any
         physical device node; so systems with those drivers will know to
         fix this problem earlier.
      
      This is one of a series of patches to help the I2C stack become a better
      citizen of the Linux Driver Model world.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      b119dc3f
    • Vitaly Wool's avatar
      i2c-pnx: Add entry to MAINTAINERS · 999445d4
      Vitaly Wool authored
      Add me to MAINTAINERS for i2c-pnx.
      Signed-off-by: default avatarVitaly Wool <vitalywool@gmail.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      999445d4
    • Vitaly Wool's avatar
      i2c-pnx: Fix interrupt handler, get rid of EARLY config option · 6c566fb7
      Vitaly Wool authored
      This fixes two issues raised by David Brownell on the i2c list:
      
      << Someone needs to update i2c-pnx.c to handle the IRQ handler doesn't
      expect pt_regs (gone now for a while), and so it doesn't try to
      reference "mudule_init()" if I2C isn't initialized "early".  For
      that matter, to get rid of that _option_ to initialize then, and
      always init that driver with subsystem_init() ... it's common with
      embedded systems to need I2C access to tweak a GPIO expander or
      do some other work when bringing up drivers, that's not specific
      to USB stacks. >>
      Signed-off-by: default avatarVitaly Wool <vitalywool@gmail.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      6c566fb7
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart · a7ec3f52
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
        [AGPGART] drivers/char/agp/sgi-agp.c: check kmalloc() return value
        [AGPGART] Fix PCI-posting flush typo.
        [AGPGART] fix detection of aperture size versus GTT size on G965
        [AGPGART] Remove unnecessary flushes when inserting and removing pages.
        [AGPGART] K8M890 support for amd-k8.
      a7ec3f52
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq · de9e957f
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
        [CPUFREQ] longhaul: Kill off warnings introduced by recent changes.
        [CPUFREQ] Uninitialized use of cmd.val in arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c:acpi_cpufreq_target()
        [CPUFREQ] Longhaul - Always guess FSB
        [CPUFREQ] Longhaul - Fix up powersaver assumptions.
        [CPUFREQ] longhaul: Fix up unreachable code.
        [CPUFREQ] speedstep-centrino: missing space and bracket
        [CPUFREQ] Bug fix for acpi-cpufreq and cpufreq_stats oops on frequency change notification
        [CPUFREQ] select consistently
      de9e957f
    • Jens Axboe's avatar
      [PATCH] ide-cd maintainer · 9c5b0ce4
      Jens Axboe authored
      Alan agreed to take over casual maintenance of the ide-cd atapi cdrom
      driver, so I'm happy to sign it over to him. Alan, I hope the address is
      the one you want to use. I also changed the list to linux-ide as that
      seems more appropriate.
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      Acked-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9c5b0ce4
    • Jens Axboe's avatar
      [PATCH] cdrom: set default timeout to 7 seconds · 2e11c207
      Jens Axboe authored
      It's a known fact that Windows times out commands after 7 seconds, so
      drives generally try and respond if they can before that happens.  We
      default to 5 seconds, which sometimes is a bit too short.
      
      Jeremy Higdon reported here:
      
      	http://lkml.org/lkml/2007/1/1/145
      
      that his drive takes longer than 5 seconds for a "read track
      information" command, later confirming that it is about 6.7 seconds.
      
      So just do the sane thing and change the default command timeout to 7
      seconds to avoid other surprises.
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      2e11c207
  3. 03 Jan, 2007 6 commits
  4. 02 Jan, 2007 7 commits
  5. 01 Jan, 2007 3 commits
  6. 31 Dec, 2006 9 commits
  7. 30 Dec, 2006 6 commits