]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fm801: convert rest outw() / inw() to use helpers
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 18 Dec 2015 19:14:11 +0000 (21:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 20 Dec 2015 21:32:53 +0000 (22:32 +0100)
commite5108d9e3723dd28c2f35de542d50d105ed691ff
treeaa9608015b4775357bc71981ff1cc21f0ea86ce2
parent4081e96c45a712e75f11627395a7520832dddd49
ALSA: fm801: convert rest outw() / inw() to use helpers

The patch introduces two new helpers fm801_iowrite16() and fm801_ioread16() to
write and read the registers by offset. Previously similar was done to access
the hardware registers by their names.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c