commit | 14136e368f909ced74f97cf04199d7288933ad41 | [log] [tgz] |
---|---|---|
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | Mon Feb 15 19:12:00 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 20 14:09:14 2016 -0800 |
tree | f574ae3ba99c5830baeb60d55b3882129dec4268 | |
parent | d7b1787161b78a5125cbb91d0f7512612bb642ad [diff] |
intel_th: Use real device index in the node names Most of the intel_th core supports multiple co-existing TH devices, except for output device nodes, where intel_th device id is hardcoded to be zero. Fix this by fetching the actual intel_th device id from the parent device's drvdata. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>