Message ID | 20221112020528.7837-3-lihuisong@huawei.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | Optimize PCC OpRegion code and reset pcc_chan_count | expand |
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index 3c2bc0ca454c..105d46c9801b 100644 --- a/drivers/mailbox/pcc.c +++ b/drivers/mailbox/pcc.c @@ -743,6 +743,7 @@ static int __init pcc_init(void) if (IS_ERR(pcc_pdev)) { pr_debug("Err creating PCC platform bundle\n"); + pcc_chan_count = 0; return PTR_ERR(pcc_pdev); }