mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9c8b3eddc0
If we are trying to interpolate a curve with slope == 0, the return value will always be the y-coordinate. In this code we are looping until we reach a minimum y-coordinate on a line, which in the 0-slope case can never happen, thus the loop never terminates. The PCDAC steps come from the EEPROM and should never be equal, but we should gracefully handle that case, so warn and bail out. Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
ath5k.h | ||
attach.c | ||
base.c | ||
base.h | ||
caps.c | ||
debug.c | ||
debug.h | ||
desc.c | ||
desc.h | ||
dma.c | ||
eeprom.c | ||
eeprom.h | ||
gpio.c | ||
initvals.c | ||
Kconfig | ||
led.c | ||
Makefile | ||
pcu.c | ||
phy.c | ||
qcu.c | ||
reg.h | ||
reset.c | ||
rfbuffer.h | ||
rfgain.h |