.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * ispcsi2.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
8 | 9 | * |
---|
9 | 10 | * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
---|
10 | 11 | * Sakari Ailus <sakari.ailus@iki.fi> |
---|
11 | | - * |
---|
12 | | - * This program is free software; you can redistribute it and/or modify |
---|
13 | | - * it under the terms of the GNU General Public License version 2 as |
---|
14 | | - * published by the Free Software Foundation. |
---|
15 | 12 | */ |
---|
16 | 13 | #include <linux/delay.h> |
---|
17 | 14 | #include <media/v4l2-common.h> |
---|
.. | .. |
---|
710 | 707 | |
---|
711 | 708 | /* Skip interrupts until we reach the frame skip count. The CSI2 will be |
---|
712 | 709 | * automatically disabled, as the frame skip count has been programmed |
---|
713 | | - * in the CSI2_CTx_CTRL1::COUNT field, so reenable it. |
---|
| 710 | + * in the CSI2_CTx_CTRL1::COUNT field, so re-enable it. |
---|
714 | 711 | * |
---|
715 | 712 | * It would have been nice to rely on the FRAME_NUMBER interrupt instead |
---|
716 | 713 | * but it turned out that the interrupt is only generated when the CSI2 |
---|
.. | .. |
---|
1235 | 1232 | |
---|
1236 | 1233 | v4l2_subdev_init(sd, &csi2_ops); |
---|
1237 | 1234 | sd->internal_ops = &csi2_internal_ops; |
---|
1238 | | - strlcpy(sd->name, "OMAP3 ISP CSI2a", sizeof(sd->name)); |
---|
| 1235 | + strscpy(sd->name, "OMAP3 ISP CSI2a", sizeof(sd->name)); |
---|
1239 | 1236 | |
---|
1240 | 1237 | sd->grp_id = 1 << 16; /* group ID for isp subdevs */ |
---|
1241 | 1238 | v4l2_set_subdevdata(sd, csi2); |
---|