提交 fd2499f0 编写于 作者: T Takashi Iwai

[ALSA] aw2 - Remove endian dependency

Removed unnecessary dependency on the little-endianess.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 9bf8e7dd
......@@ -72,10 +72,6 @@
/* SD3: >-------<_4-L___>-------<_4-R___> */
/* WS4: -------\_______________/--------- */
#ifdef __BIG_ENDIAN
/* TODO: not yet implemented */
#else /* */
static int tsl1[8] = {
1 * TSL_SDW_A1 | 3 * TSL_BSEL_A1 |
0 * TSL_DIS_A1 | 0 * TSL_DOD_A1 | TSL_LF_A1,
......@@ -112,5 +108,3 @@ static int tsl2[8] = {
0 * TSL_SDW_A2 | 1 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_WS2,
0 * TSL_SDW_A2 | 0 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_WS2 | TSL_EOS
};
#endif /* */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册