struct backlight_device *bd;
struct backlight_properties bl_props = { 0, };
- fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
-
bl_props.type = BACKLIGHT_RAW;
bl_props.power = FB_BLANK_POWERDOWN;
struct backlight_device *bd;
struct backlight_properties bl_props = { 0, };
- fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
-
bl_props.type = BACKLIGHT_RAW;
bl_props.power = FB_BLANK_POWERDOWN;
bl_props.max_brightness = 100;
void fbtft_unregister_backlight(struct fbtft_par *par)
{
- fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
-
if (par->info->bl_dev) {
par->info->bl_dev->props.power = FB_BLANK_POWERDOWN;
backlight_update_status(par->info->bl_dev);
struct backlight_device *bd;
struct backlight_properties bl_props = { 0, };
- fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
-
if (par->gpio.led[0] == -1) {
fbtft_par_dbg(DEBUG_BACKLIGHT, par,
"%s(): led pin not set, exiting.\n", __func__);