diff options
author | Sachin Nikam <snikam@nvidia.com> | 2010-05-25 13:44:14 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-05-27 07:42:58 -0700 |
commit | c3be44e23d3a57643cb12f8369cf26e9ad339988 (patch) | |
tree | 72dbf4b95d9a8838bb1ba7b03b21e53504c5738c /sound | |
parent | 7d05987b03a7bd6c0ab9d2043ce2dcfb19f53e02 (diff) |
warnings: Fixing kernel compilation warnings.
Bug 682070
Change-Id: Ieff4ca65dc7034786ddfe0657585d66957bc7f3d
Reviewed-on: http://git-master/r/1577
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_transport.c b/sound/soc/tegra/tegra_transport.c index 15a348edcc6a..05d930f130fb 100644 --- a/sound/soc/tegra/tegra_transport.c +++ b/sound/soc/tegra/tegra_transport.c @@ -649,8 +649,8 @@ void tegra_audiofx_destroyfx(struct tegra_audio_data *audio_context) snd_printk(KERN_ERR "audiofx_create_object failed!"); \ } -#define audiofx_path_connect(path_object, sink_object) \ - connection.hSource = path_object, \ +#define audiofx_path_connect(path_object, sink_object) \ + connection.hSource = (NvAudioFxHandle)path_object, \ connection.SourcePin = NvAudioFxSourcePin; \ connection.SinkPin = NvAudioFxSinkPin; \ connection.hSink = (NvAudioFxHandle)sink_object; \ @@ -769,7 +769,7 @@ NvError tegra_audiofx_create_input(NvRmDeviceHandle hRmDevice, audiofx_create_object(pInput->Convert,NvAudioFxConvertId); /* Wire 1 */ - connection.hSource = pInput->Stream; + connection.hSource = (NvAudioFxHandle)(pInput->Stream); connection.SourcePin = NvAudioFxSourcePin; connection.hSink = (NvAudioFxHandle)pInput->Resize; connection.SinkPin = NvAudioFxCopySinkPin; |