linux/sound/soc/pxa
Arnd Bergmann d1afdf34fc ASoC: pxa: remove incorrect do_div() call
The new optimized do_div implementation (now in asm-generic/next) exposes a
glitch in the brownstone audio driver by producing a compile-time warning:

sound/soc/pxa/brownstone.c: In function 'brownstone_wm8994_hw_params':
sound/soc/pxa/brownstone.c:67:85: warning: comparison of distinct pointer types lacks a cast
sound/soc/pxa/brownstone.c:67:10125: warning: right shift count >= width of type [-Wshift-count-overflow]
sound/soc/pxa/brownstone.c:67:10254: warning: passing argument 1 of '__div64_32' from incompatible pointer type [-Wincompatible-pointer-types]

The driver just divides two plain integer values, so it should not
use do_div to start with, but has apparently done so ever since the
code was first merged. This replaces do_div with a simple division
operator.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-20 18:05:16 +00:00
..
brownstone.c ASoC: pxa: remove incorrect do_div() call 2015-11-20 18:05:16 +00:00
corgi.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
e740_wm9705.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
e750_wm9705.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
e800_wm9712.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
em-x270.c
hx4700.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
imote2.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
Kconfig ASoC: fix broken pxa SoC support 2015-09-16 20:58:27 +01:00
magician.c ASoC: magician: Automatically disconnect non-connected pins 2015-01-09 21:05:55 +00:00
Makefile
mioa701_wm9713.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
mmp-pcm.c ASoC: pxa: Convert to devm_snd_soc_register_platform 2015-08-28 18:08:44 +01:00
mmp-sspa.c ASoC: pxa: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
mmp-sspa.h
palm27x.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
poodle.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
pxa2xx-ac97.c ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
pxa2xx-ac97.h
pxa2xx-i2s.c ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
pxa2xx-i2s.h
pxa2xx-pcm.c ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
pxa-ssp.c ASoC: pxa: Fix module autoload for OF platform drivers 2015-09-14 18:46:58 +01:00
pxa-ssp.h
raumfeld.c ASoC: raumfeld: Use static DAI format setup 2015-01-06 17:34:28 +00:00
spitz.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
tosa.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
ttc-dkb.c ASoC: pxa: Convert to devm_snd_soc_register_card 2015-09-14 18:33:41 +01:00
z2.c ASoC: z2: Automatically disconnect non-connected pins 2015-05-08 12:05:07 +01:00
zylonite.c ASoC: zylonite: Use static DAI format setup 2015-01-06 17:34:28 +00:00