cxacru: Fix negative dB output
authorSimon Arlott <simon@fire.lp0.eu>
Mon, 27 Apr 2009 10:22:15 +0000 (03:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:22:15 +0000 (03:22 -0700)
commit0456b4f8b742006c2b79fcbe6b0736aa1ad39180
tree9e978b37ff9bc2c42875c0f8f1dfe890d6f47548
parent15b8e19131486856373592e45793a79aefb6fbe7
cxacru: Fix negative dB output

Values of dB between -0.99 and -0.01 will be output with the wrong
sign. This converts the negative value to positive and outputs it
with a "-" prefix.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/usb/atm/cxacru.c