No. I JUST switched to the sinless kernel. Its giving me the same issue.
Heres a small section of the file dwc3-msm.c containing line 2561.
Heres the
extern int rom_stockui;
static int __devinit dwc3_msm_probe(struct platform_device *pdev)
{
struct device_node *node = pdev->dev.of_node;
struct dwc3_msm *mdwc;
struct resource *res;
void __iomem *tcsr;
unsigned long flags;
int ret = 0;
int len = 0;
u32 tmp[3];
htc_usb_disable = 0;
htc_vbus_backup = 0;
htc_id_backup = 1;
pr_info("%s: ++\n", __func__);
mdwc = devm_kzalloc(&pdev->dev, sizeof(*mdwc), GFP_KERNEL);
if (!mdwc) {
dev_err(&pdev->dev, "not enough memory\n");
return -ENOMEM;
}
platform_set_drvdata(pdev, mdwc);
context = mdwc;
mdwc->dev = &pdev->dev;
wake_lock_init(&mdwc->cable_detect_wlock, WAKE_LOCK_SUSPEND, "msm_usb_cable");
INIT_LIST_HEAD(&mdwc->req_complete_list);
INIT_DELAYED_WORK(&mdwc->chg_work, dwc3_chg_detect_work);
INIT_DELAYED_WORK(&mdwc->resume_work, dwc3_resume_work);
INIT_WORK(&mdwc->restart_usb_work, dwc3_restart_usb_work);
INIT_WORK(&mdwc->usb_block_reset_work, dwc3_block_reset_usb_work);
INIT_WORK(&mdwc->id_work, dwc3_id_work);
INIT_DELAYED_WORK(&mdwc->init_adc_work, dwc3_init_adc_work);
init_completion(&mdwc->ext_chg_wait);
ret = dwc3_msm_config_gdsc(mdwc, 1);
if (ret) {
dev_err(&pdev->dev, "unable to configure usb3 gdsc\n");
goto destroy_wlock;
}
mdwc->xo_clk = clk_get(&pdev->dev, "xo");
if (IS_ERR(mdwc->xo_clk)) {
dev_err(&pdev->dev, "%s unable to get TCXO buffer handle\n",
__func__);
ret = PTR_ERR(mdwc->xo_clk);
goto disable_dwc3_gdsc;
}
ret = clk_prepare_enable(mdwc->xo_clk);
if (ret) {
dev_err(&pdev->dev, "%s failed to vote for TCXO buffer%d\n",
__func__, ret);
goto put_xo;
}
mdwc->core_clk = devm_clk_get(&pdev->dev, "core_clk");
if (IS_ERR(mdwc->core_clk)) { ,<--------Line 2561
dev_err(&pdev->dev, "failed to get core_clk\n");
ret = PTR_ERR(mdwc->core_clk);
goto disable_xo;
Any ideas on where to go from here or how to define the reference to rom_stockui? lol I tried earlier with my minimal c knowledge and created way more problems haha
Im willing to pay if someone could solve this.