File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
#include <linux/pm_runtime.h>
23
23
#include <linux/dma-mapping.h>
24
24
#include <linux/delay.h>
25
+ #include <linux/string.h>
25
26
#include <sound/core.h>
26
27
#include <sound/asoundef.h>
27
28
#include <sound/pcm.h>
@@ -1698,9 +1699,9 @@ static int __hdmi_lpe_audio_probe(struct platform_device *pdev)
1698
1699
card_ctx = card -> private_data ;
1699
1700
card_ctx -> dev = & pdev -> dev ;
1700
1701
card_ctx -> card = card ;
1701
- strcpy (card -> driver , INTEL_HAD );
1702
- strcpy (card -> shortname , "Intel HDMI/DP LPE Audio" );
1703
- strcpy (card -> longname , "Intel HDMI/DP LPE Audio" );
1702
+ strscpy (card -> driver , INTEL_HAD );
1703
+ strscpy (card -> shortname , "Intel HDMI/DP LPE Audio" );
1704
+ strscpy (card -> longname , "Intel HDMI/DP LPE Audio" );
1704
1705
1705
1706
card_ctx -> irq = -1 ;
1706
1707
You can’t perform that action at this time.
0 commit comments