diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-31 12:56:42 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-06-01 00:02:11 +0300 |
commit | a2ae8323a8e2c5668ae42493d925da1d68ff0324 (patch) | |
tree | d423ff31f0615f0b5758d0bf211b6fe5ae859852 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a0defd7cfc2804796144545e00aaf74a486adbe7 (diff) | |
download | linux-a2ae8323a8e2c5668ae42493d925da1d68ff0324.tar.xz |
rtc: ds1685: fix possible race condition
The IRQ is requested before the struct rtc is allocated and registered, but
this struct is used in the IRQ handler.
Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc
before requesting the IRQ.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions