Searched refs:gpio_bus_switch (Results 1 – 1 of 1) sorted by relevance
417 static int gpio_bus_switch = -EINVAL; variable422 if (gpio_bus_switch < 0) { in pcm990_camera_set_bus_param()430 gpio_set_value_cansleep(gpio_bus_switch, 1); in pcm990_camera_set_bus_param()432 gpio_set_value_cansleep(gpio_bus_switch, 0); in pcm990_camera_set_bus_param()441 if (gpio_bus_switch < 0) { in pcm990_camera_query_bus_param()444 gpio_bus_switch = PXA_NR_BUILTIN_GPIO; in pcm990_camera_query_bus_param()445 gpio_direction_output(gpio_bus_switch, 0); in pcm990_camera_query_bus_param()449 if (gpio_bus_switch >= 0) in pcm990_camera_query_bus_param()457 if (gpio_bus_switch < 0) in pcm990_camera_free_bus()460 gpio_free(gpio_bus_switch); in pcm990_camera_free_bus()[all …]