diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-11-28 18:43:13 -0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-29 12:09:54 +0000 |
commit | 42ee5d22e3d2550a49bc5d3e6f19c92da9a19446 (patch) | |
tree | ad389e7a5b773876fbe455c94d8188d57e5b6290 /kernel | |
parent | c1e6cc5e577d1d446a645aea02d28a924f20b834 (diff) | |
download | lwn-42ee5d22e3d2550a49bc5d3e6f19c92da9a19446.tar.gz lwn-42ee5d22e3d2550a49bc5d3e6f19c92da9a19446.zip |
ASoC: rcar: add rsnd_is_accessible_reg()
Current rcar driver is supporting Gen1,
and Gen2 will be supported soon.
Then, some registers are used from Gen1 only,
or from Gen2 only.
To avoid NULL pointer access, this patch adds
register accessible check function.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions