aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLoic Poulain <[email protected]>2018-03-05 19:02:35 +0100
committerMarcel Holtmann <[email protected]>2018-04-01 14:25:30 +0200
commitfb2d466be9b336e9c801978e6a75d06059ac124a (patch)
treeaa830282c68b9a03e628e64106511a6f335b0b13 /tools/perf/scripts/python/export-to-sqlite.py
parent8c59c264e5e17670c0ad2063fa40e3091b549151 (diff)
Bluetooth: hci_bcm: use gpiod cansleep version
Some GPIO controller drivers request sleepable context and so can't be accessed from IRQ context. Using gpiod_set/get_value accessors with such controller leads to a kernel warning since they are reserved for atomic context (according to the documentation). Use the postfixed _cansleep version instead, indicating that context is safe for sleeping if necessary. Note that this is the case here since we never toggle the gpio neither from IRQ nor from a spinlocked section. Signed-off-by: Loic Poulain <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions