msm8974: Improve FX path

 * Previous change had bad performance in certain situations.

Change-Id: I5310fca65b8c5ff651facb0bcb0f0e19969bee5a
(cherry picked from commit 92abc00424731d715c4b8df8f488a849c90a1e76)