aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-12-03 17:37:55 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-03 12:24:02 +0000
commite8c8b6318c3dad742d03b5fff5360729f7ac2e5a (patch)
tree577fbaf20de7116f3d74b9da48d28f2e2d68580e /include/sound
parentASoC: sh: fsi: change fsi->mst_ctrl to master->a/b_mclk (diff)
downloadlinux-dev-e8c8b6318c3dad742d03b5fff5360729f7ac2e5a.tar.xz
linux-dev-e8c8b6318c3dad742d03b5fff5360729f7ac2e5a.zip
ASoC: sh: fsi: remove runtime register check from fsi_reg_xxx
Current FSI driver was checking register range on fsi_reg_xxx function. This runtime check was added to avoid an illegal access from wrong/mistake implementation. But it is useless check under the correct implementation. This patch escape runtime check by using macro technique. If there is wrong implementation, it will be compile error. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions