diff options
| author | Christian Gromm <[email protected]> | 2018-05-08 11:45:02 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-08 13:41:49 +0200 |
| commit | 7e6e228873945ccb46895f1f5e29187814ea1d8d (patch) | |
| tree | 15dabc31e98cc168c21125614dd0dfc6061b1e21 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | eb50842c5f5cf880bef97816cf5732de47a591bb (diff) | |
staging: most: i2c: reduce parameters inconsistency
Currently, there are two module parameters for the i2c driver:
- polling_req: boolean irq/polling mode;
- scan_rate: polling rate, that is used in the case where the polling
mode is active
This model is misconfiguration-prone. For example, it is possible to
select polling mode with the zero polling rate or configure non-zero
polling rate in a combination with the IRQ mode.
This patch replaces the 'polling_req' and 'scan_rate' by the
'polling_rate', where the value zero means the interrupt driven mode and
other values are used as the polling rate in the polling mode.
Signed-off-by: Andrey Shvetsov <[email protected]>
Signed-off-by: Christian Gromm <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions