In 2006, the Coverity Scan service was initiated with the U.S. Department of
Homeland Security
leaves a warm and fuzzy feeling
On Tue, Dec 15, 2015 at 07:02:42PM +, Jeff Haran wrote:
> >-Original Message-
> >From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org
> >[
On Fri, Dec 18, 2015 at 10:34 PM, Carlo Caione wrote:
> From: Carlo Caione
>
> While in sdhci_execute_tuning() the choice whether or not to enable the
> tuning is done on the actual timing, in the mmc_sdio_init_uhs_card() the
> check is done on the capability of the card.
>
> This difference is c
The calculation for the timeout based on the number of card clocks is
incorrect. The calculation assumed:
timeout in microseconds = clock cycles / clock in Hz
which is clearly a several orders of magnitude wrong. Fix this by
multiplying the clock cycles by 100 prior to dividing by t
The data timeout gives the minimum amount of time that should be
waited before timing out if no data is received from the card.
Simply dividing the nanosecond part by 1000 does not give this
required guarantee, since such a division rounds down. Use
DIV_ROUND_UP() to give the desired timeout.
Sig