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-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux