]> 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)
commit9f1d7194a88889b687b5a8edfc2834973e6f2246
treeaa9608015b4775357bc71981ff1cc21f0ea86ce2
parenta83c6fde36f960a27dccc8d05fff976cd2abadc5
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