GoogleGit

commit2c41df86cfbb075c5d11ef2b9611ac4595b454c1[log][tgz]
authorColin Cross <ccross@android.com>Thu Apr 17 20:34:24 2014 -0700
committerColin Cross <ccross@android.com>Thu Apr 17 20:35:59 2014 -0700
treefd9a03643000c48e8efccc3670f9dba44afb9ade
parent485497da502115f58052f8b9425df319055dc72b[diff]
tegra_i2s: fix build for gcc 4.9

gcc 4.9 gives a valid warning that was not produced by gcc 4.8,
and tegra30_i2s.c is build with -Werror:
sound/soc/tegra/tegra30_i2s.c: In function 'tegra30_i2s_hw_params':
sound/soc/tegra/tegra30_i2s.c:669:32: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
   reg = TEGRA30_I2S_CIF_TX_CTRL, val;

Remove the spurious ", val" to fix the build.

Change-Id: Ic3a471a9fa29ed35f44e1d179b99ee8955a4ac08
Signed-off-by: Colin Cross <ccross@android.com>
1 file changed
tree: fd9a03643000c48e8efccc3670f9dba44afb9ade
  1. .gitignore
  2. .mailmap
  3. COPYING
  4. CREDITS
  5. Documentation/
  6. Kbuild
  7. Kconfig
  8. MAINTAINERS
  9. Makefile
  10. NVIDIA-REVIEWERS
  11. README
  12. REPORTING-BUGS
  13. android/
  14. arch/
  15. block/
  16. chromeos/
  17. crypto/
  18. drivers/
  19. firmware/
  20. fs/
  21. include/
  22. init/
  23. ipc/
  24. kernel/
  25. lib/
  26. mm/
  27. net/
  28. samples/
  29. scripts/
  30. security/
  31. sound/
  32. tools/
  33. usr/
  34. virt/