Loading drivers/bluetooth/btfm_slim_codec.c +7 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ #include <linux/init.h> Loading @@ -13,6 +13,7 @@ #include <linux/slimbus/slimbus.h> #include <linux/ratelimit.h> #include <linux/slab.h> #include <linux/errno.h> #include <sound/pcm.h> #include <sound/pcm_params.h> #include <sound/soc.h> Loading Loading @@ -209,6 +210,11 @@ static int btfm_slim_dai_prepare(struct snd_pcm_substream *substream, /* save the enable channel status */ if (ret == 0) bt_soc_enable_status = 1; if (ret == -EISCONN) { BTFMSLIM_ERR("channel opened without closing, returning success"); ret = 0; } return ret; } Loading Loading
drivers/bluetooth/btfm_slim_codec.c +7 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ #include <linux/init.h> Loading @@ -13,6 +13,7 @@ #include <linux/slimbus/slimbus.h> #include <linux/ratelimit.h> #include <linux/slab.h> #include <linux/errno.h> #include <sound/pcm.h> #include <sound/pcm_params.h> #include <sound/soc.h> Loading Loading @@ -209,6 +210,11 @@ static int btfm_slim_dai_prepare(struct snd_pcm_substream *substream, /* save the enable channel status */ if (ret == 0) bt_soc_enable_status = 1; if (ret == -EISCONN) { BTFMSLIM_ERR("channel opened without closing, returning success"); ret = 0; } return ret; } Loading