summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/oti6858.h
blob: 704ac3a532b3c60b3d69e04b27780c45df412869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Ours Technology Inc. OTi-6858 USB to serial adapter driver.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
#ifndef __LINUX_USB_SERIAL_OTI6858_H
#define __LINUX_USB_SERIAL_OTI6858_H

#define OTI6858_VENDOR_ID	0x0ea0
#define OTI6858_PRODUCT_ID	0x6858

#endif
> commit01d1f7a99e457952aa51849ed7c1cc4ced7bca4b (patch) treebf2b6b2629fc043833ed126e72b2f15c52acf85e /net/sunrpc/xprtrdma parente91c3dfcd3ff88218c972cb24f932c4d434bbb09 (diff)
iio: bmi160: Fix time needed to sleep after command execution
Datasheet specifies typical and maximum execution times for which CMD register is occupied after previous command execution. We took these values as minimum and maximum time for usleep_range() call before making a new command execution. To be sure, that the CMD register is no longer occupied we need to wait *at least* the maximum time specified by datasheet. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/sunrpc/xprtrdma')