29 Sep
2011
29 Sep
'11
8:59 a.m.
On Thursday 29 September 2011 12:09:57 Axel Lin wrote:
Put parentheses around macro argument uses. This avoids pitfalls for the programmer, where the argument expansion does not give the expected result, for example:
SAMPLES_TO_US(substream->runtime->rate, dac33->uthr - DAC33_MODE7_MARGIN + 1);
Acked-by: Peter Ujfalusi peter.ujfalusi@ti.com