Liam Girdwood
3b09bb820d
ASoC: core - Improve card registration error messaging for large DAI links.
...
Print out the offending DAI link entry when a naming error occurs. Makes
thing easier to debug for machines with a large number of DAI links.
Signed-off-by: Liam Girdwood <lrg@ti.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:26 +00:00
Joachim Eastwood
350e16d529
ASoC: replace 0xffffffff with DMA_BIT_MASK macro
...
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:26 +00:00
Joachim Eastwood
6296914cce
ASoC: use proper defines for stream directions in pcm engines
...
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
3294c4c603
ASoC: Convert WM8955 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
95860fdf0f
ASoC: Convert WM8955 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
9887cb9e65
ASoC: Use standard register cache sync for WM8955
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
ba5c88d02d
ASoC: Convert WM8955 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
1e9c898df0
ASoC: Make I2C usage unconditional in WM8955
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
42dad0d84a
ASoC: Convert WM8940 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
b5531205f5
ASoC: Make I2C usage unconditional in WM8940
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
84d0d83180
ASoC: Convert WM8904 to direct regmap API usage
...
The device has a very sparse register map so should benefit from using a
rbtree cache.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
274eb8f9d8
ASoC: Use standard cache sync for WM8904
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
93e26d4e44
ASoC: Convert wm8904 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:23 +00:00
Mark Brown
429440c947
ASoC: Make WM8904 I2C usage unconditional
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:23 +00:00
Mark Brown
891271c28f
ASoC: Convert wm8804 to direct regmap API usage
...
The register map for this device is actually fairly sparse so the rbtree
should be beneficial.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:23 +00:00
Mark Brown
f649f1a8aa
ASoC: Convert wm8804 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
e055cd67fd
ASoC: Use standard cache sync for wm8804
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
c2562a8e3b
ASoC: Remove wm8974 private data
...
It's only ever referenced when being allocated and freed.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
a2bd691c64
ASoC: Convert wm8974 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
7a389651bd
ASoC: Make wm8974 I2C usage unconditional
...
The driver only supports I2C at present.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
028b0a0a92
ASoC: Convert wm8971 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
c4850644ce
ASoC: Convert wm8971 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
542cc361de
ASoC: Make WM8971 I2C usage unconditional
...
The driver only supports I2C so no need to worry about SPI only systems.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
d3398ff059
ASoC: Convert WM8753 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
bfea3abb80
ASoC: Move WM8993 resource acquisition and device reset to bus probe
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
d0ad0af043
ASoC: Convert wm8993 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
391d9e4e5c
ASoC: Move WM9090 device identification and reset to I2C probe
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
ec2c0fec11
ASoC: Convert WM9090 to use regmap directly
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
008f8d4f99
ASoC: Push wm8978 reset down into the I2C probe
...
Ensures that we get control of the CODEC earlier and don't try to probe
the card at all if register I/O isn't working.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
ee60d0155d
ASoC: Convert wm8978 to direct regmap API usage
...
Helps push the register cache code down out of ASoC and improves resume
times by using the more efficient regmap cache sync code.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
f98692ea6d
ASoC: Use standard cache sync for WM8978
...
Saves a bit of code and supports further refactoring.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
623105dc97
ASoC: Convert wm8978 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
803b37885d
ASoC: Convert wm8978 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
ad6cdec507
ASoC: Remove unused control type from wm8978 driver
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:18 +00:00
Mark Brown
0d6df67583
ASoC: Make WM8978 I2C usage unconditional
...
The driver only supports I2C.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:18 +00:00
Mark Brown
fed2200711
ASoC: Disable register synchronisation for low frequency WM8996 SYSCLK
...
With a low frequency SYSCLK and a fast I2C clock register synchronisation
may occasionally take too long to take effect, causing I/O issues. Disable
synchronisation in order to avoid any issues.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:34 +00:00
Mark Brown
495174a8ff
ASoC: Don't go through cache when applying WM5100 rev A updates
...
These are all to either uncached registers or fixes to register defaults,
in the former case the cache won't do anything and in the latter case
we're fixing things so the cache sync will do the right thing.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:33 +00:00
Mark Brown
e53e417331
ASoC: Mark WM5100 register map cache only when going into BIAS_OFF
...
Writing to the registers won't work if we do actually manage to hit a fully
powered off state.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:33 +00:00
Wolfram Sang
0c93a167a6
ASoC: tlv320aic32x4: always enable analouge block
...
Register LDOCTLEN must always be initialized to clear the analog power
control bit, otherwise the analog block will stay deactivated.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Acked-by: Javier Martin <javier.martin@vista-silicon.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:54:33 +00:00
Wolfram Sang
01b37e94c0
ASoC: tlv320aic32x4: always enable dividers
...
Dividers (such as MDAC) are always needed, independent of the codec
being I2S master or slave. Needed on a custom board where the codec has
to be slave.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Acked-by: Javier Martin <javier.martin@vista-silicon.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:54:33 +00:00
Zeng Zhaoming
bb362e2e4f
ASoC: sgtl5000: Fix wrong register name in restore
...
Correct SGTL5000_CHIP_CLK_CTRL to SGTL5000_CHIP_REF_CTRL in
sgtl5000_restore_regs(), and add comment to explain the
restore order.
Reported-by: Julia Lawall <julia.lawall@lip6.fr >
Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com >
Acked-by: Dong Aisheng <dong.aisheng@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:54:32 +00:00
Linus Torvalds
dcd6c92267
Linux 3.3-rc1
2012-01-19 15:04:48 -08:00
Linus Torvalds
567e47935a
Merge branches 'sched-urgent-for-linus', 'perf-urgent-for-linus' and 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
...
* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/accounting, proc: Fix /proc/stat interrupts sum
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tracepoints/module: Fix disabling tracepoints with taint CRAP or OOT
x86/kprobes: Add arch/x86/tools/insn_sanity to .gitignore
x86/kprobes: Fix typo transferred from Intel manual
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits
x86, tsc: Fix SMI induced variation in quick_pit_calibrate()
x86, opcode: ANDN and Group 17 in x86-opcode-map.txt
x86/kconfig: Move the ZONE_DMA entry under a menu
x86/UV2: Add accounting for BAU strong nacks
x86/UV2: Ack BAU interrupt earlier
x86/UV2: Remove stale no-resources test for UV2 BAU
x86/UV2: Work around BAU bug
x86/UV2: Fix BAU destination timeout initialization
x86/UV2: Fix new UV2 hardware by using native UV2 broadcast mode
x86: Get rid of dubious one-bit signed bitfield
2012-01-19 14:53:06 -08:00
Linus Torvalds
99d1edc5c5
Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6
...
gpio bug fixes for v3.3
* tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6:
gpio: tps65910: Use correct offset for gpio initialization
gpio/it8761e: Restrict it8761e gpio driver to x86.
gpio-ml-ioh: cleanup __iomem annotation usage
gpio-ml-ioh: cleanup NULL pointer checking
gpio-pch: cleanup __iomem annotation usage
gpio-pch: cleanup NULL pointer checking
2012-01-19 14:52:03 -08:00
Linus Torvalds
e19c29e8d8
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
...
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
qnx4: don't leak ->BitMap on late failure exits
qnx4: reduce the insane nesting in qnx4_checkroot()
qnx4: di_fname is an array, for crying out loud...
vfs: remove printk from set_nlink()
wake up s_wait_unfrozen when ->freeze_fs fails
2012-01-19 14:49:16 -08:00
H. Peter Anvin
4f2f81a562
x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits
...
In checkin
303395ac3b
x86: Generate system call tables and unistd_*.h from tables
the feature macros in <asm/unistd.h> were unified between 32 and 64
bits. Unfortunately 32 bits requires __ARCH_WANT_SYS_IPC and this was
inadvertently dropped.
Reported-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com >
Cc: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
Link: http://lkml.kernel.org/r/CALLzPKbeXN5gdngo8uYYU8mAow=XhrwBFBhKfG811f37BubQOg@mail.gmail.com
2012-01-19 12:57:09 -08:00
H. Peter Anvin
282f445a77
Merge remote-tracking branch 'linus/master' into x86/urgent
2012-01-19 12:56:50 -08:00
Linus Torvalds
afd290945c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
...
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
KEYS: Permit key_serial() to be called with a const key pointer
keys: fix user_defined key sparse messages
ima: fix cred sparse warning
MPILIB: Add a missing ENOMEM check
2012-01-19 11:46:08 -08:00
Al Viro
8bc5191b26
qnx4: don't leak ->BitMap on late failure exits
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-01-19 13:54:36 -05:00
Al Viro
4134bf81ff
qnx4: reduce the insane nesting in qnx4_checkroot()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-01-19 13:40:57 -05:00