Skip to content

Commit cf492f3

Browse files
marcanjannau
authored andcommitted
media: apple: isp: Use a more user-friendly device name
Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 8e3581f commit cf492f3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/media/platform/apple/isp/isp-drv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
/* #define APPLE_ISP_DEBUG */
1818
#define APPLE_ISP_DEVICE_NAME "apple-isp"
19+
#define APPLE_ISP_CARD_NAME "FaceTime HD Camera"
1920

2021
#define ISP_MAX_CHANNELS 6
2122
#define ISP_IPC_MESSAGE_SIZE 64

drivers/media/platform/apple/isp/isp-v4l2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ static struct isp_preset *isp_select_preset(struct apple_isp *isp, u32 width,
448448
static int isp_vidioc_querycap(struct file *file, void *priv,
449449
struct v4l2_capability *cap)
450450
{
451-
strscpy(cap->card, APPLE_ISP_DEVICE_NAME, sizeof(cap->card));
451+
strscpy(cap->card, APPLE_ISP_CARD_NAME, sizeof(cap->card));
452452
strscpy(cap->driver, APPLE_ISP_DEVICE_NAME, sizeof(cap->driver));
453453

454454
return 0;

0 commit comments

Comments
 (0)