Make more services use stateful live update
Change-Id: If2e5b8e56fef633e471ec1cbb6e08ce3496ea755
This commit is contained in:
parent
a4220d7774
commit
1aad172900
10 changed files with 2 additions and 10 deletions
|
@ -715,7 +715,6 @@ sef_local_startup(void)
|
|||
* Register init callbacks. Use the same function for all event types
|
||||
*/
|
||||
sef_setcb_init_fresh(sef_cb_init);
|
||||
sef_setcb_init_lu(sef_cb_init);
|
||||
sef_setcb_init_restart(sef_cb_init);
|
||||
|
||||
/* Let SEF perform startup. */
|
||||
|
|
|
@ -123,7 +123,6 @@ static void sef_local_startup()
|
|||
{
|
||||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
sef_setcb_init_restart(sef_cb_init_fresh);
|
||||
|
||||
/* Register live update callbacks. */
|
||||
|
|
|
@ -113,7 +113,6 @@ static void sef_local_startup(void)
|
|||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_restart(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
|
||||
/* Register signal callback. */
|
||||
sef_setcb_signal_handler(sef_cb_signal_handler);
|
||||
|
|
|
@ -352,7 +352,6 @@ static void sef_local_startup(void)
|
|||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_restart(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
|
||||
/* Register signal callbacks. */
|
||||
sef_setcb_signal_handler(sef_cb_signal_handler);
|
||||
|
|
|
@ -114,7 +114,6 @@ static void sef_local_startup()
|
|||
{
|
||||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(SEF_CB_INIT_LU_DEFAULT);
|
||||
sef_setcb_init_restart(SEF_CB_INIT_RESTART_STATEFUL);
|
||||
|
||||
/* Let SEF perform startup. */
|
||||
|
|
|
@ -68,7 +68,6 @@ static void sef_local_startup()
|
|||
{
|
||||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
|
||||
/* Register live update callbacks. */
|
||||
sef_setcb_lu_prepare(sef_cb_lu_prepare);
|
||||
|
|
|
@ -71,7 +71,6 @@ static void sef_local_startup()
|
|||
{
|
||||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
sef_setcb_init_restart(sef_cb_init_fresh);
|
||||
|
||||
/* Let SEF perform startup. */
|
||||
|
|
|
@ -85,7 +85,7 @@ EXTERN special_file_t special_file[];
|
|||
#define WRITE_DMA 2
|
||||
|
||||
EXTERN int sef_cb_lu_prepare(int state);
|
||||
EXTERN int sef_cb_lu_state_isvalid(int state);
|
||||
EXTERN int sef_cb_lu_state_isvalid(int state, int flags);
|
||||
EXTERN void sef_cb_lu_state_dump(int state);
|
||||
|
||||
#endif /* AUDIO_FW_H */
|
||||
|
|
|
@ -88,7 +88,6 @@ static void sef_local_startup(void)
|
|||
{
|
||||
/* Register init callbacks. */
|
||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||
sef_setcb_init_lu(sef_cb_init_fresh);
|
||||
sef_setcb_init_restart(sef_cb_init_fresh);
|
||||
|
||||
/* Register live update callbacks. */
|
||||
|
|
|
@ -78,7 +78,7 @@ int sef_cb_lu_prepare(int state)
|
|||
/*===========================================================================*
|
||||
* sef_cb_lu_state_isvalid *
|
||||
*===========================================================================*/
|
||||
int sef_cb_lu_state_isvalid(int state)
|
||||
int sef_cb_lu_state_isvalid(int state, int __unused flags)
|
||||
{
|
||||
return SEF_LU_STATE_IS_STANDARD(state) || AUDIO_STATE_IS_CUSTOM(state);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue