ASoC: Taint the kernel if debugfs is used to write directly to CODECs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Jan 2011 16:04:57 +0000 (16:04 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Jan 2011 11:41:07 +0000 (11:41 +0000)
commit0d51a9cbb6c1275cc0f3840c36f8b7840a438c59
tree39975b55dea716b91635d25e21b6fb0eb9b40d44
parent9c6df19e55799d23863eb414b0ee850c4fd3a174
ASoC: Taint the kernel if debugfs is used to write directly to CODECs

Since direct register writes may confuse the drivers and are supposed
to be used only in diagnostic situations discourage their use in
production by tainting the kernel when we do a write.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/soc-core.c