summaryrefslogtreecommitdiff
path: root/lib/ts_kmp.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2021-04-14 10:54:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-15 10:36:07 +0200
commitb622b24519f5b008f6d4e20e5675eaffa8fbd87b (patch)
treec147c752cb5e4d546d98d45c84d078386ea39b0d /lib/ts_kmp.c
parent586c402882069fe835cb9874a72316eaa2923c6f (diff)
software node: Allow node addition to already existing device
If the node is added to an already exiting device, the node needs to be also linked to the device separately. This will make sure the reference count is kept in balance also when the node is injected to a device afterwards. Fixes: e68d0119e328 ("software node: Introduce device_add_software_node()") Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210414075438.64547-1-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ts_kmp.c')
0 files changed, 0 insertions, 0 deletions