]> git.hungrycats.org Git - linux/commit
[PATCH] ad1848 check_region() removal
authorAlexander Viro <viro@www.linux.org.uk>
Fri, 27 Aug 2004 12:12:19 +0000 (05:12 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 12:12:19 +0000 (05:12 -0700)
commite67c4298199b04d1e0deedb74b25ad5cc55aa974
tree6d78562b0ad168487f3505b02fd6afb32573b4f5
parent4022b887c8299b36f80fb52bcbaafaf5ede6bcb6
[PATCH] ad1848 check_region() removal

* ports for ad1848 are now claimed by callers
* ad1848_detect() gets pointer to struct resource in question
* ad1848_init() gets the same pointer and consumes it
* ports for mss are now claimed by callers (both config and ad1848 ones)
* probe_ms_sound() gets pointer to ad1848 ports
* attach_ms_sound() gets the same pointer and consumes both regions.
* callers updated.  That had killed a *lot* of check_region() and closed
  corresponding races.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 files changed:
sound/oss/ad1848.c
sound/oss/ad1848.h
sound/oss/cs4232.c
sound/oss/cs4232.h
sound/oss/gus_card.c
sound/oss/gus_wave.c
sound/oss/mad16.c
sound/oss/opl3sa.c
sound/oss/opl3sa2.c
sound/oss/pss.c
sound/oss/sgalaxy.c
sound/oss/sscape.c
sound/oss/trix.c