Loading drivers/platform/msm/ipa/ipa_v2/ipa_dp.c +11 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -856,6 +856,16 @@ static void ipa_sps_irq_control(struct ipa_sys_context *sys, bool enable) { int ret; /* * Do not change sps config in case we are in polling mode as this * indicates that sps driver already notified EOT event and sps config * should not change until ipa driver processes the packet. */ if (atomic_read(&sys->curr_polling_state)) { IPADBG("in polling mode, do not change config\n"); return; } if (enable) { ret = sps_get_config(sys->ep->ep_hdl, &sys->ep->connect); if (ret) { Loading Loading
drivers/platform/msm/ipa/ipa_v2/ipa_dp.c +11 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -856,6 +856,16 @@ static void ipa_sps_irq_control(struct ipa_sys_context *sys, bool enable) { int ret; /* * Do not change sps config in case we are in polling mode as this * indicates that sps driver already notified EOT event and sps config * should not change until ipa driver processes the packet. */ if (atomic_read(&sys->curr_polling_state)) { IPADBG("in polling mode, do not change config\n"); return; } if (enable) { ret = sps_get_config(sys->ep->ep_hdl, &sys->ep->connect); if (ret) { Loading