Re: [RFC] New Driver Model for 2.5

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 25 Oct 2001 13:22:32 +0100 (BST)


> >Sound is more easily handled by not blocking user space but waiting until
> >the final IRQ off moment and grabbing the registers. That avoids a lot
> >of ugly locking gunge. It literally comes down to
>
> My point about using a semaphore was to avoid getting mixer ioctls
> banging the HW while it is shut down.

Yes I can follow that - you want to avoid the aclink being shut down while
active. That seems to be just part of the ordering. I'd also put the ac97
save/restore in the ac97_codec.c stuff - lets write it once 8)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/