Skip to content

Commit

Permalink
dcw_otg: avoid logging function that can cause panics
Browse files Browse the repository at this point in the history
See: raspberrypi/firmware#21
Thanks to cleverca22 for fix
  • Loading branch information
popcornmix committed Nov 22, 2013
1 parent 7d819f9 commit 8e51737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/dwc_otg/dwc_otg_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ static ssize_t spramdump_show(struct device *_dev,
{
dwc_otg_device_t *otg_dev = dwc_otg_drvdev(_dev);

dwc_otg_dump_spram(otg_dev->core_if);
//dwc_otg_dump_spram(otg_dev->core_if);

return sprintf(buf, "SPRAM Dump\n");
}
Expand Down

0 comments on commit 8e51737

Please sign in to comment.