B53_SRAB_CMDSTAT_GORDYN |
op;
writel(cmdstat, regs + B53_SRAB_CMDSTAT);
-
+
/* check if operation completed */
for (i = 0; i < 5; ++i) {
cmdstat = readl(regs + B53_SRAB_CMDSTAT);
*val = readl(regs + B53_SRAB_RD_L);
*val += ((u64)readl(regs + B53_SRAB_RD_H) & 0xffff) << 32;
-
+
err:
b53_srab_release_grant(dev);
{
struct b53_device *dev = platform_get_drvdata(pdev);
- if (dev) {
+ if (dev)
b53_switch_remove(dev);
- }
return 0;
}