intel_th: Fix activating a subdevice without a driver
If output subdevice driver is not loaded, activating it will try to call its ->activate method and crash. Fix this by explicitly checking for the driver. Signed-off-by: NAlexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: NLaurent Fert <laurent.fert@intel.com>
Showing
想要评论请 注册 或 登录