OpenCloudOS-Kernel/sound/soc/rockchip
Arnd Bergmann 0e18d457b3 ASoC: fix rockchip 64-bit build warning
The rk_spdif_probe uses the device match data as a token to identify a
particular device, but accidentally casts a pointer to 'int', which is
not portable, as gcc points out in this warning on arm64:

rockchip_spdif.c: In function 'rk_spdif_probe':
rockchip_spdif.c:283:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

This changes the logic to compare two pointer values instead, using
the same cast that was used for initializing the value in the first
place.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-16 13:54:02 +00:00
..
Kconfig ASoC: rockchip: Add rockchip SPDIF transceiver driver 2015-10-08 16:12:01 +01:00
Makefile ASoC: rockchip: Add rockchip SPDIF transceiver driver 2015-10-08 16:12:01 +01:00
rockchip_i2s.c ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled 2015-10-23 01:51:00 +09:00
rockchip_i2s.h ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled 2015-10-23 01:51:00 +09:00
rockchip_max98090.c Merge remote-tracking branches 'asoc/topic/rcar', 'asoc/topic/reg-default', 'asoc/topic/rl6231', 'asoc/topic/rockchip' and 'asoc/topic/rt286' into asoc-next 2015-08-30 15:55:54 +01:00
rockchip_rt5645.c Merge remote-tracking branches 'asoc/topic/rcar', 'asoc/topic/reg-default', 'asoc/topic/rl6231', 'asoc/topic/rockchip' and 'asoc/topic/rt286' into asoc-next 2015-08-30 15:55:54 +01:00
rockchip_spdif.c ASoC: fix rockchip 64-bit build warning 2015-11-16 13:54:02 +00:00
rockchip_spdif.h ASoC: rockchip: Add rockchip SPDIF transceiver driver 2015-10-08 16:12:01 +01:00