Loading include/soc/swr-wcd.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,8 @@ enum { SWR_REGISTER_WAKE_IRQ, SWR_REGISTER_WAKE_IRQ, SWR_SET_PORT_MAP, SWR_SET_PORT_MAP, SWR_REQ_CLK_SWITCH, SWR_REQ_CLK_SWITCH, SWR_REGISTER_WAKEUP, SWR_DEREGISTER_WAKEUP, }; }; struct swr_mstr_port { struct swr_mstr_port { Loading soc/swr-mstr-ctrl.c +8 −0 Original line number Original line Diff line number Diff line Loading @@ -2881,6 +2881,14 @@ int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data) mutex_unlock(&swrm->mlock); mutex_unlock(&swrm->mlock); } } break; break; case SWR_REGISTER_WAKEUP: msm_aud_evt_blocking_notifier_call_chain( SWR_WAKE_IRQ_REGISTER, (void *)swrm); break; case SWR_DEREGISTER_WAKEUP: msm_aud_evt_blocking_notifier_call_chain( SWR_WAKE_IRQ_DEREGISTER, (void *)swrm); break; case SWR_SET_PORT_MAP: case SWR_SET_PORT_MAP: if (!data) { if (!data) { dev_err(swrm->dev, "%s: data is NULL for id=%d\n", dev_err(swrm->dev, "%s: data is NULL for id=%d\n", Loading Loading
include/soc/swr-wcd.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,8 @@ enum { SWR_REGISTER_WAKE_IRQ, SWR_REGISTER_WAKE_IRQ, SWR_SET_PORT_MAP, SWR_SET_PORT_MAP, SWR_REQ_CLK_SWITCH, SWR_REQ_CLK_SWITCH, SWR_REGISTER_WAKEUP, SWR_DEREGISTER_WAKEUP, }; }; struct swr_mstr_port { struct swr_mstr_port { Loading
soc/swr-mstr-ctrl.c +8 −0 Original line number Original line Diff line number Diff line Loading @@ -2881,6 +2881,14 @@ int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data) mutex_unlock(&swrm->mlock); mutex_unlock(&swrm->mlock); } } break; break; case SWR_REGISTER_WAKEUP: msm_aud_evt_blocking_notifier_call_chain( SWR_WAKE_IRQ_REGISTER, (void *)swrm); break; case SWR_DEREGISTER_WAKEUP: msm_aud_evt_blocking_notifier_call_chain( SWR_WAKE_IRQ_DEREGISTER, (void *)swrm); break; case SWR_SET_PORT_MAP: case SWR_SET_PORT_MAP: if (!data) { if (!data) { dev_err(swrm->dev, "%s: data is NULL for id=%d\n", dev_err(swrm->dev, "%s: data is NULL for id=%d\n", Loading