struct dsi_data *dsi = to_dsi_data(dssdev);
int r;
- if (channel > 3)
- return -EINVAL;
-
dsi_bus_lock(dsi);
if (!dsi->video_enabled) {
struct mipi_dsi_device *client)
{
struct dsi_data *dsi = host_to_omap(host);
- unsigned int channel = client->channel;
int r;
- if (channel > 3)
- return -EINVAL;
-
if (dsi->dsidev) {
DSSERR("dsi client already attached\n");
return -EBUSY;
struct mipi_dsi_device *client)
{
struct dsi_data *dsi = host_to_omap(host);
- unsigned int channel = client->channel;
-
- if (channel > 3)
- return -EINVAL;
if (WARN_ON(dsi->dsidev != client))
return -EINVAL;