• Alexander Viro's avatar
    [PATCH] ad1848 check_region() removal · e67c4298
    Alexander Viro authored
    * 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: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    e67c4298
opl3sa.c 6.53 KB