Commit 9654ab01 authored by Loic Poulain's avatar Loic Poulain Committed by Greg Kroah-Hartman
parent b0fc0167
...@@ -680,9 +680,6 @@ static int parse_ev_cfg(struct mhi_controller *mhi_cntrl, ...@@ -680,9 +680,6 @@ static int parse_ev_cfg(struct mhi_controller *mhi_cntrl,
mhi_event++; mhi_event++;
} }
/* We need IRQ for each event ring + additional one for BHI */
mhi_cntrl->nr_irqs_req = mhi_cntrl->total_ev_rings + 1;
return 0; return 0;
error_ev_cfg: error_ev_cfg:
......
...@@ -312,7 +312,6 @@ struct mhi_controller_config { ...@@ -312,7 +312,6 @@ struct mhi_controller_config {
* @total_ev_rings: Total # of event rings allocated * @total_ev_rings: Total # of event rings allocated
* @hw_ev_rings: Number of hardware event rings * @hw_ev_rings: Number of hardware event rings
* @sw_ev_rings: Number of software event rings * @sw_ev_rings: Number of software event rings
* @nr_irqs_req: Number of IRQs required to operate (optional)
* @nr_irqs: Number of IRQ allocated by bus master (required) * @nr_irqs: Number of IRQ allocated by bus master (required)
* @family_number: MHI controller family number * @family_number: MHI controller family number
* @device_number: MHI controller device number * @device_number: MHI controller device number
...@@ -393,7 +392,6 @@ struct mhi_controller { ...@@ -393,7 +392,6 @@ struct mhi_controller {
u32 total_ev_rings; u32 total_ev_rings;
u32 hw_ev_rings; u32 hw_ev_rings;
u32 sw_ev_rings; u32 sw_ev_rings;
u32 nr_irqs_req;
u32 nr_irqs; u32 nr_irqs;
u32 family_number; u32 family_number;
u32 device_number; u32 device_number;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment