qcacmn: Move targetdef out of ol_softc to ol_bmi_context
Targetdef is needed during BMI phase of PLL switching. Move this member to ol_bmi_context Change-Id: Idf5bbe610a926506b87e8458fa460fd583263a03 CRs-Fixed: 967765
Цей коміт міститься в:

зафіксовано
Gerrit - the friendly Code Review server

джерело
2a5fa63d2b
коміт
8eb8f28ce2
@@ -192,7 +192,6 @@ struct bmi_info {
|
||||
};
|
||||
|
||||
struct ol_softc {
|
||||
struct targetdef_s *targetdef;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
@@ -519,13 +519,6 @@ void hif_close(struct ol_softc *hif_ctx)
|
||||
CDF_MODULE_ID_HIF, hif_ctx);
|
||||
}
|
||||
|
||||
void hif_init_opaque_handle(struct hif_softc *scn)
|
||||
{
|
||||
struct ol_softc *hif_hdl = GET_HIF_OPAQUE_HDL(scn);
|
||||
|
||||
hif_hdl->targetdef = scn->targetdef;
|
||||
}
|
||||
|
||||
/**
|
||||
* hif_enable(): hif_enable
|
||||
* @hif_ctx: hif_ctx
|
||||
@@ -557,8 +550,6 @@ CDF_STATUS hif_enable(struct ol_softc *hif_ctx, struct device *dev,
|
||||
return status;
|
||||
}
|
||||
|
||||
hif_init_opaque_handle(scn);
|
||||
|
||||
if (ADRASTEA_BU)
|
||||
hif_vote_link_up(hif_ctx);
|
||||
|
||||
|
Посилання в новій задачі
Заблокувати користувача