dsp563xx_once: fix warning and potential bug
commit17201b584776704c80ac5089874f244757b3744e
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 20 Mar 2011 18:44:48 +0000 (20 19:44 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 20 Mar 2011 18:47:58 +0000 (20 19:47 +0100)
tree2d7eb6c246a010a5121711071728079a2f5ba171
parent558f760ff06c499b4525dcb4ba731f585256dacb
dsp563xx_once: fix warning and potential bug

I don't think dsp563xx_once_read_register() would ever
be called with len==0, but it would have been broken in
that case.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/dsp563xx_once.c