/* * Apple Onboard Audio driver for Onyx codec (header) * * Copyright 2006 Johannes Berg * * GPL v2, can be found in COPYING. */ #ifndef __SND_AOA_CODEC_ONYX_H #define __SND_AOA_CODEC_ONYX_H #include #include #include #include /* PCM3052 register definitions */ /* the attenuation registers take values from * -1 (0dB) to -127 (-63.0 dB) or others (muted) */ #define ONYX_REG_DAC_ATTEN_LEFT 65 #define FIRSTREGISTER ONYX_REG_DAC_ATTEN_LEFT #define ONYX_REG_DAC_ATTEN_RIGHT 66 #define ONYX_REG_CONTROL 67 # define ONYX_MRST (1<<7) # define ONYX_SRST (1<<6) # define ONYX_ADPSV (1<<5) # define ONYX_DAPSV (1<<4) # define ONYX_SILICONVERSION (1<<0) /* all others reserved */ #define ONYX_REG_DAC_CONTROL 68 # define ONYX_OVR1 (1<<6) # define ONYX_MUTE_RIGHT (1<<1) # define ONYX_MUTE_LEFT (1<<0) #define ONYX_REG_DAC_DEEMPH 69 # define ONYX_DIGDEEMPH_SHIFT 5 # define ONYX_DIGDEEMPH_MASK (3<diff
diff options
context:
space:
mode:
authorJurij Smakov <jurij@wooyd.org>2017-01-30 15:41:36 -0600
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:05:25 +0200
commit52f5631a4c056ad01682393be56d2be237e81610 (patch)
tree53d1ddd2c1b179c808df10b6ce731ad26aa9f31b /include/math-emu/soft-fp.h
parent2b1d530cb3157f828fcaadd259613f59db3c6d1c (diff)
rtlwifi: rtl8192ce: Fix loading of incorrect firmware
In commit cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859, an error in the edit results in the wrong firmware being loaded for some models of the RTL8188/8192CE. In this condition, the connection suffered from high ping latency, slow transfer rates, and required higher signal strengths to work at all See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853073, https://bugzilla.opensuse.org/show_bug.cgi?id=1017471, and https://github.com/lwfinger/rtlwifi_new/issues/203 for descriptions of the problems. This patch fixes all of those problems. Fixes: cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859") Signed-off-by: Jurij Smakov <jurij@wooyd.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> # 4.9+ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/math-emu/soft-fp.h')