drm/i915: Fix type of timeout_ms parameter in intel_wait_for_register_fw()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 7 Apr 2017 13:32:10 +0000 (13:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Apr 2017 14:59:10 +0000 (15:59 +0100)
commitd769ab182771df6d7ad6c3ecb0449d94043b7921
tree04ae2f9658ceb2b429f1158f58b54b4762e3b7fe
parentf2be9d68334dbb4ab8a3aa40b1633e3f408c616b
drm/i915: Fix type of timeout_ms parameter in intel_wait_for_register_fw()

There is no need to specify timeout as unsigned long since this parameter
will be consumed by usecs_to_jiffies() which expects unsigned int only.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170407133212.174608-1-michal.wajdeczko@intel.com
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c