[PATCH 5/9] drm: bridge/dw_hdmi: avoid being recursive in N calculation

2015-09-04 Thread Doug Anderson
Russell, On Sat, Aug 8, 2015 at 9:10 AM, Russell King wrote: > There's no need to be recursive when computing the N value for the ACR > packet - we can instead calculate the multiplier prior to our switch() > based lookup, and multiply the N value appropriately afterwards. > > Signed-off-by: Russ

[PATCH 5/9] drm: bridge/dw_hdmi: avoid being recursive in N calculation

2015-08-08 Thread Russell King
There's no need to be recursive when computing the N value for the ACR packet - we can instead calculate the multiplier prior to our switch() based lookup, and multiply the N value appropriately afterwards. Signed-off-by: Russell King --- drivers/gpu/drm/bridge/dw_hdmi.c | 25 +--