tda10023.c: misplaced parentheses?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In tda10023_read_signal_strength() we have:

	u16 gain = ((255-tda10023_readreg(state, 0x17))) + (255-ifgain)/16;
-------------------------------------------------------^
The closing parenthesis appears misplaced, should this be:

	u16 gain = ((255-tda10023_readreg(state, 0x17)) + (255-ifgain))/ 16;
----------------------------------------------------------------------^
Or are the double parentheses just unnecessary?

Roel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux