summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/oxygen_lib.c
diff options
context:
space:
mode:
authorRoman Volkov <v1ron@mail.ru>2014-01-24 16:18:03 +0400
committerClemens Ladisch <clemens@ladisch.de>2014-01-29 23:45:44 +0400
commit303cff30d36e6a450c3ced1e3bed034038d87a86 (patch)
treed7dfa1fe1c0a0a1ac98ddc953620ff35c6b92598 /sound/pci/oxygen/oxygen_lib.c
parent10dd44dc88419ba5278435669ac9e35f9f410c7e (diff)
downloadlinux-303cff30d36e6a450c3ced1e3bed034038d87a86.tar.xz
ALSA: oxygen: modify the SPI writing function
Modify the oxygen_write_spi() function to use the newly introduced oxygen_wait_spi() function. Change return value from void to int, so it can return error codes. Older drivers just ignore that return value, new drivers can check this value. We need to wait AFTER initiating the SPI transaction, otherwise read operation will not work. Signed-off-by: Roman Volkov <v1ron@mail.ru> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
0 files changed, 0 insertions, 0 deletions