|
@@ -178,8 +178,9 @@ static int vidioc_querycap(struct file *file, void *priv,
|
|
struct snd_tea575x *tea = video_drvdata(file);
|
|
struct snd_tea575x *tea = video_drvdata(file);
|
|
|
|
|
|
strlcpy(v->driver, "tea575x-tuner", sizeof(v->driver));
|
|
strlcpy(v->driver, "tea575x-tuner", sizeof(v->driver));
|
|
- strlcpy(v->card, tea->tea5759 ? "TEA5759" : "TEA5757", sizeof(v->card));
|
|
|
|
- sprintf(v->bus_info, "PCI");
|
|
|
|
|
|
+ strlcpy(v->card, tea->card, sizeof(v->card));
|
|
|
|
+ strlcat(v->card, tea->tea5759 ? " TEA5759" : " TEA5757", sizeof(v->card));
|
|
|
|
+ strlcpy(v->bus_info, tea->bus_info, sizeof(v->bus_info));
|
|
v->version = RADIO_VERSION;
|
|
v->version = RADIO_VERSION;
|
|
v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO;
|
|
v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO;
|
|
return 0;
|
|
return 0;
|