Re: [RFC PATCH v2 2/2] mmc: renesas_sdhi: do hard reset if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

> "if (priv->rstc)" if the reset is made optional.

Yes, that would be better.

> > +       priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
> 
> devm_reset_control_get_optional_exclusive()?
> + missing error handling (real errors and -EPROBE_DEFER).

OK.

> Perhaps you want to add a "select RESET_CONTROLLER" to "config
> MMC_SDHI"?

Isn't "select" too strong for an optional feature? I'd think so.

Thanks,

   Wolfram

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux