diff options
author | Rob Herring | 2015-11-10 17:10:17 -0600 |
---|---|---|
committer | Jacek Anaszewski | 2016-01-04 09:57:36 +0100 |
commit | 22f933add429523923360e3d0c171c7df1bd4981 (patch) | |
tree | 6bd78e4af20bf9699739691c4604224df7ba400e /mm | |
parent | df8ff5d2e0f733aa6e866a6ba11a4c3376bb47f7 (diff) |
leds: ledtrig-transient: fix duration to be msec instead of jiffies
The transient trigger duration is documented to be in msec units, but is
actually in jiffies units. Other time based triggers are in msec units
as well. Fix the timer setup to convert from msec.
This could break an existing userspace that worked around this problem,
but exposing jiffies to userspace is just wrong and would break anyway
if HZ is changed.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Shuah Khan <shuahkhan@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions