blob: da4b643eff4066df7d1b3ed6a5fe7743bf60f8d2 [file] [log] [blame]
Takashi Sakamoto59558152015-09-19 11:21:55 +09001/*
2 * AM824 format in Audio and Music Data Transmission Protocol (IEC 61883-6)
3 *
4 * Copyright (c) 2015 Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 *
6 * Licensed under the terms of the GNU General Public License, version 2.
7 */
8
9#include "amdtp-am824.h"
10
11#define CIP_FMT_AM 0x10
12
13/**
14 * amdtp_am824_init - initialize an AMDTP stream structure to handle AM824
15 * data block
16 * @s: the AMDTP stream to initialize
17 * @unit: the target of the stream
18 * @dir: the direction of stream
19 * @flags: the packet transmission method to use
20 */
21int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
22 enum amdtp_stream_direction dir, enum cip_flags flags)
23{
24 return amdtp_stream_init(s, unit, dir, flags, CIP_FMT_AM);
25}
26EXPORT_SYMBOL_GPL(amdtp_am824_init);