]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Intel: do cast earlier in sst_cdev_tstamp()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 Apr 2015 09:02:39 +0000 (12:02 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2015 09:58:06 +0000 (10:58 +0100)
commit75afbd052b3675e9b812f9327e19be63f3e7b5de
treef736cef4a386321e6bd11005c7a29a6e8ef8e044
parent1f544fd8ff377127a512e20358045cc9b92c245c
ASoC: Intel: do cast earlier in sst_cdev_tstamp()

My static checker complains about these because it looks like the
multiply can overflow and then we cast to a larger data type.  I don't
think this is a problem, but it's also harmless to do the cast earlier
so let's silence the static checker warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_drv_interface.c