summaryrefslogtreecommitdiffstats
path: root/fs/file.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-12-09 00:10:41 +0900
committerTakashi Iwai <tiwai@suse.de>2014-12-10 10:47:09 +0100
commit5b59d8098d2a3fa8ea4ad07b96f62c00c3b3e8d3 (patch)
treee4a7965027428a918ffcd11e44a35079873ce52c /fs/file.c
parentfec7b7536207897693e708411dcb95909d56c431 (diff)
downloadop-kernel-dev-5b59d8098d2a3fa8ea4ad07b96f62c00c3b3e8d3.zip
op-kernel-dev-5b59d8098d2a3fa8ea4ad07b96f62c00c3b3e8d3.tar.gz
ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation
OXFW970/971 may supports AV/C Stream Format Information Specification 1.1 Working Draft (Apr 2005, 1394TA). By using this command, drivers can get to know stream formations which device supports. This commit adds 'EXTENDED STREAM FORMAT INFORMATION' command. This command has two subfunctions, 'SINGLE' and 'LIST'. Drivers can use 'SINGLE' subfunction to know/set current formation of AMDTP stream, Drivers can use 'LIST' subfunction to know an available formation of AMDTP stream in a certain sampling rate. But some devices don't implement the 'LIST' subfunction. So this commit uses an assumption that 'if they don't implement it, they don't change stream formation depending on current each sampling rate'. With this assumption, this driver generates formations for such devices by: 1.getting current formation by SINGLE subfunction 2.getting supported sampling rates 3.applying current formation for all of supported sampling rates Followed commit implements a parser of this format information. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud