RE: [PATCH v2 2/2] i2c: QUP based bus driver for Qualcomm MSM chipsets

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

 



[Kenneth]

> From: Kenneth Heitke [mailto:kheitke@xxxxxxxxxxxxxx]
> Subject: [PATCH v2 2/2] i2c: QUP based bus driver for Qualcomm MSM
> chipsets
> (...)
> +	dev->one_bit_t = USEC_PER_SEC/pdata->bus_freq;

Maybe you want to use DIV_ROUND_UP() from kernel.h here
to be on the safe side?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux