mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[media] radio-miropcm20: fix sparse NULL pointer warning
Fixes the following sparse warnings: drivers/media/radio/radio-miropcm20.c:193:33: warning: Using plain integer as NULL pointer Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
7eea35fe3d
commit
27dcb00d0d
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ static int pcm20_setfreq(struct pcm20 *dev, unsigned long freq)
|
|||
freql = freq & 0xff;
|
||||
freqh = freq >> 8;
|
||||
|
||||
rds_cmd(aci, RDS_RESET, 0, 0);
|
||||
rds_cmd(aci, RDS_RESET, NULL, 0);
|
||||
return snd_aci_cmd(aci, ACI_WRITE_TUNE, freql, freqh);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue