kgdb ex

http://permalink.gmane.org/gmane.linux.usb.general/45661

                do {
2493                 grstctl = readl(hsotg->regs + S3C_GRSTCTL);
2494         } while (!(grstctl & S3C_GRSTCTL_CSftRst) && timeout-- > 0);
2495
2496         if (!(grstctl & S3C_GRSTCTL_CSftRst)) {
2497                 dev_err(hsotg->dev, "Failed to get CSftRst asserted\n");
2498                 return -EINVAL;
2499         }

posted on 2013-08-15 12:00  kwingmei  阅读(126)  评论(0编辑  收藏  举报

导航