NOTFORMERGE: demo: Move static variables into dev_context
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 23:26:09 +0000 (17:26 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 23:26:09 +0000 (17:26 -0600)
commit538038a343a39ced55ebb756c7e932fde9ee9722
tree2641776244c45989875a1267a77bd57dfd2a821f
parentca0a5627c9728ec4a303545bc48baaee22cd82d8
NOTFORMERGE: demo: Move static variables into dev_context

Information such as samplerate, time limit or sample limit is context
specific. Store it in dev_context, following the model that most other
drivers use: keep devc in sdi->priv.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
hardware/demo/demo.c