1. 10 9月, 2005 25 次提交
  2. 09 9月, 2005 2 次提交
  3. 08 9月, 2005 3 次提交
  4. 06 9月, 2005 2 次提交
    • J
      [PATCH] I2C: Kill i2c_algorithm.id (6/7) · 1684a984
      Jean Delvare 提交于
      In theory, there should be no more users of I2C_ALGO_* at this point.
      However, it happens that several drivers were using I2C_ALGO_* for
      adapter ids, so we need to correct these before we can get rid of all
      the I2C_ALGO_* definitions.
      
      Note that this also fixes a bug in media/video/tvaudio.c:
      
      	/* don't attach on saa7146 based cards,
      	   because dedicated drivers are used */
      	if ((adap->id & I2C_ALGO_SAA7146))
      		return 0;
      
      This test was plain broken, as it would succeed for many more adapters
      than just the saa7146: any those id would share at least one bit with
      the saa7146 id. We are really lucky that the few other adapters we want
      this driver to work with did not fulfill that condition.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1684a984
    • J
      [PATCH] I2C: Kill i2c_algorithm.id (5/7) · c7a46533
      Jean Delvare 提交于
      Merge the algorithm id part (16 upper bits) of the i2c adapters ids
      into the definition of the adapters ids directly. After that, we don't
      need to OR both ids together for each i2c_adapter structure.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c7a46533
  5. 05 9月, 2005 5 次提交
  6. 24 8月, 2005 1 次提交
  7. 19 8月, 2005 1 次提交
  8. 16 8月, 2005 1 次提交
    • A
      [PATCH] intelfb/fbdev: Save info->flags in a local variable · 3edea483
      Antonino A. Daplas 提交于
      Reported by: Pavel Kysilka (Bugzilla Bug 5059)
      
      The intelfb driver does not keep resolution set with fbset after
      switching to anot console and back.
      
      Steps to reproduce:
      
        initial options: tty1,tty2 - 1024x768-60
        1) tty1 - fbset after booting (1024x768-60)
        2) tty1 - fbset 800x600-100
        tty1: 800x600-100
        3) swith to tty2, swith to tty1
        tty1: 1024x768-60 (the same resolution as default from kernel booting)
      
      This bug is caused by intelfb unintentionally destroying info->flags in
      set_par(). Therefore the flag, FBINFO_MISC_USEREVENT used to notify
      fbcon of a mode change was cleared causing the above problem. This bug
      though is not intelfb specific, as other drivers may also be affected.
      
      The fix is to save info->flags in a local variable before calling any
      of the driver hooks.  A more definitive fix (for post 2.6.13) is to
      separate info->flags into one that is set by the driver and another that
      is set by core fbdev/fbcon.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3edea483