]> git.baikalelectronics.ru Git - kernel.git/commit
sound: oss/dmabuf: use dma_map_single
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Apr 2013 17:28:50 +0000 (19:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Apr 2013 05:36:38 +0000 (07:36 +0200)
commit262238d6e2fed4c3d4be1e43136ab0ac43a05cb3
tree6bdac66637163f3165b37867672a9c9d3a7ba130
parentd435e0dbee3298409ae289c8175b0e74e124873a
sound: oss/dmabuf: use dma_map_single

The virt_to_bus/bus_to_virt functions have been deprecated
for as long as I can remember, and they are used in very
few remaining instances, usually in obscure ISA device
drivers. The OSS sound drivers are the only ones that are
still used on the ARM architecture, and only on some of
the earliest StrongARM machines.

The problem for converting the OSS subsystem to use
dma_map_single instead is that the caller of virt_to_bus
does not have a device pointer, since the subsystem has
never been ported to use the common device infrastructure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/dmabuf.c