]> git.karo-electronics.de Git - linux-beck.git/commit
intel_th: Fix a deadlock in modprobing
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Thu, 30 Jun 2016 08:51:44 +0000 (11:51 +0300)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Thu, 14 Jul 2016 10:02:39 +0000 (13:02 +0300)
commita36aa80f3cb2540fb1dbad6240852de4365a2e82
tree193a9f67ab7426ed0e2fa650445ea2cd4f997a3a
parentaf8c34ce6ae32addda3788d54a7e340cad22516b
intel_th: Fix a deadlock in modprobing

Driver initialization tries to request a hub (GTH) driver module from
its probe callback, resulting in a deadlock.

This patch solves the problem by adding a deferred work for requesting
the hub module.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: <stable@vger.kernel.org> # 4.4.x-
drivers/hwtracing/intel_th/core.c
drivers/hwtracing/intel_th/intel_th.h