diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-09 07:12:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 00:43:20 (GMT) |
commit | c803dd48f0539cb6adcbbcf41c758502e1e102cb (patch) | |
tree | b4d00deaf012755543025cd1a62ba87dc6daeda0 /include/sound/tlv320dac33-plat.h | |
parent | 8441bf5e063e03e5d307ffb32fd5f77e81c0d397 (diff) | |
download | linux-fsl-qoriq-c803dd48f0539cb6adcbbcf41c758502e1e102cb.tar.xz |
staging: sb105x: clean up interface type test
IIR_RS232 is zero so "if (IIR_RS232 == (b_ret & IIR_RS232))" is always
true so RS232 was always chosen by default. The test should be
"if (0 == (b_ret & 0x30)) { ". The other tests should also be in that
format.
This does change how the code works... If 0x30 is set then it now
defaults to RS232 instead of RS485.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/sound/tlv320dac33-plat.h')
0 files changed, 0 insertions, 0 deletions