1. 08 7月, 2005 4 次提交
  2. 29 6月, 2005 2 次提交
  3. 28 6月, 2005 1 次提交
  4. 26 6月, 2005 2 次提交
    • C
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter 提交于
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
    • M
      [PATCH] cx88 build fix · 5cdb7b48
      Mauro Carvalho Chehab 提交于
      static declaration of cx88_pci_irqs follows non-static.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cdb7b48
  5. 24 6月, 2005 17 次提交
  6. 22 6月, 2005 2 次提交
    • J
      [PATCH] I2C: Merge unused address lists in some video drivers · 68cc9d0b
      Jean Delvare 提交于
      On top of my previous patch which removes the use of address ranges in
      video i2c drivers, this one can save an additional few bytes of memory.
      Most of these drivers which do not use I2C_CLIENT_INSMOD initialize the
      unused address lists in a less than optimal way. This patch simply
      optimizes this, by using a single one-element list instead of 3
      different lists with two elements each.
      
      This saves an average 63 bytes on these drivers.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      diff -ruN linux-2.6.12-rc1-bk5.orig/drivers/media/video/adv7170.c linux-2.6.12-rc1-bk5/drivers/media/video/adv7170.c
      68cc9d0b
    • J
      [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers · b3d5496e
      Jean Delvare 提交于
      Some months ago, you killed the address ranges mechanism from all
      sensors i2c chip drivers (both the module parameters and the in-code
      address lists). I think it was a very good move, as the ranges can
      easily be replaced by individual addresses, and this allowed for
      significant cleanups in the i2c core (let alone the impressive size
      shrink for all these drivers).
      
      Unfortunately you did not do the same for non-sensors i2c chip drivers.
      These need the address ranges even less, so we could get rid of the
      ranges here as well for another significant i2c core cleanup. Here comes
      a patch which does just that. Since the process is exactly the same as
      what you did for the other drivers set already, I did not split this one
      in parts.
      
      A documentation update is included.
      
      The change saves 308 bytes in the i2c core, and an average 1382 bytes
      for chip drivers which use I2C_CLIENT_INSMOD, 126 bytes for those which
      do not.
      
      This change is required if we want to merge the sensors and non-sensors
      i2c code (and we want to do this).
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      Index: gregkh-2.6/Documentation/i2c/writing-clients
      ===================================================================
      b3d5496e
  7. 26 5月, 2005 1 次提交
  8. 25 5月, 2005 1 次提交
  9. 17 5月, 2005 3 次提交
  10. 07 5月, 2005 2 次提交
  11. 06 5月, 2005 2 次提交
    • M
      [PATCH] bttv: fix dst i2c read/write timeout failure. · fc9d53af
      Manu Abraham 提交于
      Attached is a patch to bttv which fixes the following problems.
      
      Affected cards and problems:
      ~~~~~~~~~~~~~~~~~~~~~~~~
      o VP-1020 (200103A) Tuning problems, device detection.
      o VP-1020 (DST-MOT) Errors during tuning, device detection fails in a while.
      o VP-1030 (DST-CI) Tuning sometimes fails after CI commands.
      o VP-2031 (DCT-CI) Tuning problems
      
      The timeout happens before the actual timeout occured in the MCU
      on the board, and hence the problems.
      
      Changes: (bttv-i2c.diff)
      ~~~~~~~~~~~~~~~~~~~~~~~~
      o Changed the custom wait queue to wait_event_interruptible_timeout()
            - Suggestion by Johannes Stezenbach.
      
      o Fixed the wait queue timeout problem
            - This fixes the timeout problem on various cards.
            - This problem was visible as many
                * Cannot tune to channels, when signal levels are very low.
                * app_info does not work in some conditions for CI based cards
            - Smaller values worked good for newer cards, but the older cards
      suffered, settled down to the worst case values that could happen in any
      eventuality.
      Signed-off-by: NManu Abraham <manu@kromtek.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fc9d53af
    • F
      [PATCH] saa6752hs: resolutions handling · 0a4c9c93
      Frederic CAND 提交于
      This patch handles the VIDIOC_S_FMT and VIDIOC_G_FMT ioctls for the
      saa6752hs.
      
      As only 4 preset video formats are supported (SIF, 1/2D1, 2/3D1, D1), we
      compute to which the asked resolution is the nearest and apply it.
      Signed-off-by: NFrederic Cand <frederic.cand@anevia.com>
      Acked-by: NGerd Knorr <kraxel@bytesex.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0a4c9c93
  12. 01 5月, 2005 3 次提交